|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
  |
|
Controlling the message retry interval in MQ |
View previous topic :: View next topic |
Author |
Message
|
svendesmit |
Posted: Thu Sep 08, 2005 11:56 pm Post subject: Controlling the message retry interval in MQ |
|
|
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 |
|
 |
Mr Butcher |
Posted: Fri Sep 09, 2005 12:18 am Post subject: |
|
|
 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 |
|
 |
|
|
  |
|
Page 1 of 1 |
|
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
|
|
|
|