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 IndexIBM MQ Java / JMSControlling the message retry interval in MQ

Post new topicReply to topic
Controlling the message retry interval in MQ View previous topic :: View next topic
Author Message
svendesmit
PostPosted: Thu Sep 08, 2005 11:56 pm Post subject: Controlling the message retry interval in MQ Reply with quote

Newbie

Joined: 08 Sep 2005
Posts: 1

Our Java application is reading incoming service requests from a queue in a transactional manner. When there is a problem in our application (e.g. DB down), the session that handles the incoming message is roll-backed, so that the message is re-queued. This works fine. We are using “stand-alone” MQ 5.3 on Sun Solaris.

Now, what we would like to do, is to control the interval between subsequent executions of the same message (e.g. retry after one hour).

Can this be done programmatically, via the JMS or MQ API?
Can it be done via the administration tools for MQ? Is it a property that can be set on a message level, queue level, …?

Regards,
Sven.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Fri Sep 09, 2005 12:18 am Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

if a message is rolled back, the backoutcount is increased. maybe you can use that in combination with the message creation time to achive this processing-delay. But it has to be done in the application program (get or maybe browse message, check backout counter, if > 0 check time, ....),

or put the messages with backoutcoutn > 0 into an error queue which is processed every hour...

or... or...
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Java / JMSControlling the message retry interval in MQ
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.