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 » Retry mechanism pattern for broken connection

Post new topic  Reply to topic Goto page Previous  1, 2
 Retry mechanism pattern for broken connection « View previous topic :: View next topic » 
Author Message
lancelotlinc
PostPosted: Thu Apr 04, 2013 6:03 am    Post subject: Reply with quote

Jedi Knight

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

andy1989 wrote:
Quote:

Try it and find out. Also experiment with how you would modify that value.


I've check it and for BOTHRESH=3 period is about 1 second:

Code:
Date: 2013-04-04 15:50:36.866836
Date: 2013-04-04 15:50:38.131391
Date: 2013-04-04 15:50:39.128313


So how would you use your error handler to increase the amount of time to wait before retrying?
_________________
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
andy1989
PostPosted: Thu Apr 04, 2013 6:08 am    Post subject: Reply with quote

Novice

Joined: 07 Jan 2013
Posts: 22

mqjeff wrote:
lancelotlinc wrote:
andy1989 wrote:
how to provide retry mechanism and not overload network.


From your error handler, backout the original message into the original input queue, incrementing the backout count. When backout count is greater than desired (five times for example), move the message to a backout queue.


Yes, by all means, hand-code the behavior already provided with the MQInput node.

Or, alternately, consider understanding the product function and how to cause the MQInput node to perform an automatic backout.


hmm...
I've asked if i can use retry mechanism based on MQInput parameters or mechanism based on solution like in article: http://www.ibm.com/developerworks/websphere/library/techarticles/0601_cox/0601_cox.html

Andy
Back to top
View user's profile Send private message
andy1989
PostPosted: Thu Apr 04, 2013 6:11 am    Post subject: Reply with quote

Novice

Joined: 07 Jan 2013
Posts: 22

lancelotlinc wrote:
andy1989 wrote:
Quote:

Try it and find out. Also experiment with how you would modify that value.


I've check it and for BOTHRESH=3 period is about 1 second:

Code:
Date: 2013-04-04 15:50:36.866836
Date: 2013-04-04 15:50:38.131391
Date: 2013-04-04 15:50:39.128313


So how would you use your error handler to increase the amount of time to wait before retrying?


I think, I don't need to increase time interval , so if simply usage of embeded MQ parameters is acceptable, I will use that simplest solution.


Andy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Retry mechanism pattern for broken connection
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.