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 » General IBM MQ Support » Backout threshhold/backout count

Post new topic  Reply to topic
 Backout threshhold/backout count « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Tue Feb 26, 2008 4:37 pm    Post subject: Backout threshhold/backout count Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Tue Feb 26, 2008 5:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
jeevan
PostPosted: Tue Feb 26, 2008 7:03 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Thank you very much.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 27, 2008 2:25 am    Post subject: Reply with quote

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
View user's profile Send private message
jeevan
PostPosted: Wed Feb 27, 2008 2:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 27, 2008 2:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
bower5932
PostPosted: Wed Feb 27, 2008 4:14 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

You can go to:

http://www-304.ibm.com/jct09002c/isv/tech/sampmq.html

and get one of the backout programs. You can then modify the program to not move the message to the backout queue and show it to your developers. You'll see the message stay on the queue.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Backout threshhold/backout count
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.