ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Could you please review my design

Post new topic  Reply to topic
 Could you please review my design « View previous topic :: View next topic » 
Author Message
ethirajesh
PostPosted: Thu Jul 21, 2011 9:48 pm    Post subject: Could you please review my design Reply with quote

Apprentice

Joined: 04 Oct 2010
Posts: 46

Hi I need your inputs on the below design where I retry a Webservice for certain number of times.

InputNode-->Compute-->HTTPRequest-->Mapping-->HTTPReply

In the above design I have HTTPInput node in separate flow, which checks the incoming request and route the request to the above mentioned flow(there are 4 such flows which is invoked based on the request coming in).

When Web service is down, I need to retry the request for 3 times. To acheive this, I have wired 'Failure' terminal of HTTPRequest to a Filter node to check the exception type. If the exception is not 'Parser', 'Messageexception' or 'User Exception' or 'The retry count is exceeds 3' I route this to True terminal which is wired to another Compute node (Through False I connect to it to Exception Hadler component). The 'out' of this is wired to the Input terminal of the COmpute node of the above message flow.

My Doubts are :

Note1: I tried saving retry count in MQRH2 header, but when the message is coming out from Failure terminal, this header is getting deleted automatically.

1) Is this is the right approach for retrying a webservice?
2) Since MQRFH2 header is getting deleted, I am gonna use Environment variable to hold the retry count.
3) Will this design makes other messages choked coming in during the Retry?

Note2:

During peak season the number of request will be around 25000.
The incoming request is of query string type and The HTTPRequest hits the webservice using 'GET' Method.

I am sorry for making my query too length.

Thanks
Rajesh Ethiraj
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Jul 21, 2011 11:14 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Have you looked at the MANY similar questions that have been asked in this forum.
This
"I have to retry <insert operation> n times" comes up at least once every 6 months.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Jul 22, 2011 4:28 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

You can find the answer here:

http://www-304.ibm.com/jct03001c/services/learning/ites.wss/us/en?pageType=course_description&courseCode=WM663

VITOR SAYS:
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Fri Jul 22, 2011 5:47 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

lancelotlinc wrote:
You can find the answer here:

http://www-304.ibm.com/jct03001c/services/learning/ites.wss/us/en?pageType=course_description&courseCode=WM663



Do you get commission every time you post this reference here?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Could you please review my design
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.