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 Discussion » Connection rollback

Post new topic  Reply to topic
 Connection rollback « View previous topic :: View next topic » 
Author Message
super
PostPosted: Sun Aug 01, 2004 11:08 pm    Post subject: Connection rollback Reply with quote

Newbie

Joined: 25 Jul 2004
Posts: 5

Hi,

If the MQ connection rollback, the message will be put in the beginning of the queue again.

Is there any parameter can be set in the MQ server such that if a connection rollback for more than, say 5 times, that message will be put in another queues?

Thanks!

Paul
Back to top
View user's profile Send private message
JasonE
PostPosted: Mon Aug 02, 2004 1:15 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Look at the MD BackoutCount field, however handling of this field is up to you on distributed MQ at least.

WBIMB for example does take notice of this field for example, and z/OS might (not sure).
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Aug 02, 2004 2:24 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Yes, just set the backout count threshold and the backout re-queue queue name in the QUEUE definition.

That way the application can ignore the backout processing and leave it to the queue manager to send it to another queue (works on z/OS).

Checking backout count in the application is OK but it is possible to get a backout before you have a chance to examine this field and therefore get a retry loop (it happened to me!) - so the queue backout definitions can act as a second line of defence if nothing else.


Last edited by zpat on Mon Aug 02, 2004 4:41 am; edited 2 times in total
Back to top
View user's profile Send private message
JasonE
PostPosted: Mon Aug 02, 2004 2:26 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

I thought on distributed (non-z.os) platforms the qmgr ignores these values
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Aug 02, 2004 2:28 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Maybe, I used it on z/OS and tend to assume the mainframe lags behind the other platforms in terms of features - but you are best placed to know the answer!

Last edited by zpat on Mon Aug 02, 2004 4:42 am; edited 1 time in total
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Aug 02, 2004 4:05 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I have never known the QM, on any platform, to automatically move your message to the BackoutRequeueQName. It is always up to the app to inquire on the value and do its own separate put.

From the APR manual:
Quote:

BackoutRequeueQName (MQCHAR48)
Excessive backout requeue queue name.
Local Model Alias Remote Cluster
Yes Yes No No No
Apart from allowing its value to be queried, the queue manager takes no action
based on the value of this attribute.

_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Aug 02, 2004 5:09 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Perhaps it was the Notes trigger monitor or MQLSX that did it for me, or I was just imagining it.

Anyway it's something that the queue manager itself could usefully be enhanced to do, that's for sure!
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Aug 02, 2004 5:59 am    Post subject: Reply with quote

Jedi Knight

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

On distributed, you need to backout the messages yourself. There is sample code at:

http://www.developer.ibm.com/tech/sampmq.html

You can look at backout.c and backout.java to see what you'll need to do.
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 Discussion » Connection rollback
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.