|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MDB backout queue and moving messages |
« View previous topic :: View next topic » |
Author |
Message
|
jeevan |
Posted: Thu Apr 17, 2008 3:33 pm Post subject: MDB backout queue and moving messages |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
We had long discussions about thsi a while ago. Our app folds still believe that MQ moves messages when the backout count reaches the BT values. they refer an article published in Dev work. Could somebody help me to understand what exactly the conclusion of the article is trying to say.
I DO NOT THINK MESSAGES ARE MOVED AUTOMATICALLY BY MQ WHEN THE BACKOUT COUNT IN THE MESSAGES REACHES THE THRESHHOLD VALUE to the backout queue.
Thanks a lot
article
http://www-128.ibm.com/developerworks/websphere/library/techarticles/0405_titheridge/0405_titheridge.html |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Apr 17, 2008 6:02 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9471 Location: US: west coast, almost. Otherwise, enroute.
|
The URL you posted is about WAS behavior, not MQ.
MQ backout works like this:
The backout count counts the number of times a message has been backed out (MQBACK) into a queue by an application. You can set a backout threshold for a queue - it's a queue attribute.
Your application can inquire on the backout count, compare it to the backout threshold (is the count greater than 0, for example), and do something with the poison message. Typical behavior would be for the application to mqget the poison message (likely in a unit of work), and mqput it to the backout-requeue-queue-name named in the queue definition. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Apr 17, 2008 6:28 pm Post subject: Re: MDB backout queue and moving messages |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jeevan wrote: |
We had long discussions about thsi a while ago. Our app folds still believe that MQ moves messages when the backout count reaches the BT values. they refer an article published in Dev work. Could somebody help me to understand what exactly the conclusion of the article is trying to say.
I DO NOT THINK MESSAGES ARE MOVED AUTOMATICALLY BY MQ WHEN THE BACKOUT COUNT IN THE MESSAGES REACHES THE THRESHHOLD VALUE to the backout queue.
Thanks a lot
article
http://www-128.ibm.com/developerworks/websphere/library/techarticles/0405_titheridge/0405_titheridge.html |
This belief may be furthered by the behavior of JMS programs. AFAIK only JMS programs will automatically put to the Backout/DLQ and even for that they need authorization or you will get an exception...
Enjoy  _________________ MQ & Broker admin |
|
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
|
|
|
|