Author |
Message
|
jeevan |
Posted: Tue Feb 26, 2008 4:37 pm Post subject: Backout threshhold/backout count |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
We are having a problem listener being stopped. Ther are people who still opnied that once the backout count reaches the backout threshhold, or greater than it, MQseries moves the message. I know this is simply not true.
However, I am not sure about what happens if the backout threshhold is reached and there is request to rollback the message? does MQ allow it or the message will be discarded or goes to dlq or nothing? I mean comes back to the queue.
thanks |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Feb 26, 2008 5:39 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
The Queue Manager does nothing with the backout count of a message other than set it. It doesn't matter if the backout count is 0 or 1000000 the queue manager will treat the message the same.
The Queue Manager does nothing with a queue's backout threshold attribute. Ever.
So if you wanna rollback the message go for it. Its irrelevant what the backout count is, what the backout threshold is, what the backout requeue name is.
Applications can act on these backout fields. If JMS or WMB do something and the message moves its because they did something you were unaware of. They are coded internally to act on these fields. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
jeevan |
Posted: Tue Feb 26, 2008 7:03 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Feb 27, 2008 2:25 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There are things about MDB listeners where, if you have the various different retry counts set wrong, then the MDB Listener port will stop rather than doing rollback. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jeevan |
Posted: Wed Feb 27, 2008 2:37 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
jefflowrey wrote: |
There are things about MDB listeners where, if you have the various different retry counts set wrong, then the MDB Listener port will stop rather than doing rollback. |
The problem in our case is that the developers still think that once the backout count is reached or crosses the back out threshhold, the message is moved to backout queue by MQ.
I am trying to convince them it is not the case. They have to have logic what they want to do with the message if the back out count reaches the backout threshhold.
I still have one question. How they handle the backout count if the error is not due to the message being bad.Do they decrease the counter ? Can do they that ? ( I think so)
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Feb 27, 2008 2:44 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
it works like this:
1) get message
2) error occurs
3) if "recoverable error", backout message
3a) unless backout> backout retry, then put message to backout queue
4) if "fatal error", put message to error queue. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Feb 27, 2008 4:14 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
|
Back to top |
|
 |
|