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 » MQ Message Rollback

Post new topic  Reply to topic
 MQ Message Rollback « View previous topic :: View next topic » 
Author Message
psn
PostPosted: Sat Jul 15, 2006 11:01 pm    Post subject: MQ Message Rollback Reply with quote

Disciple

Joined: 30 Oct 2002
Posts: 193
Location: France

It is possible to configure WMQ that it automatically rollback a MQMessage to the rollback Queue Defined in Source Queue MQMD the MQMesage read from ?
If Yes How ?
Thanks

PSN
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jul 16, 2006 3:02 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

  1. your environment needs to be WAS (MDB) or some similar IBM program that automatically takes the responsibility of implementing that behavior (WMB...). IBM clearly specifies that the stated behavior is responsibility of the application programmer....
  2. Set the backout threshold on the queue
  3. Set the backout queue on the queue
  4. Set the MDB retry to be > bothresh of the queue.


Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Sun Jul 16, 2006 8:28 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

In other words, No.
Back to top
View user's profile Send private message
mvic
PostPosted: Mon Jul 17, 2006 2:35 am    Post subject: Re: MQ Message Rollback Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

psn wrote:
It is possible to configure WMQ that it automatically rollback a MQMessage to the rollback Queue Defined in Source Queue MQMD the MQMesage read from ?

No, not exactly. Poison message handling in JMS and XMS is based on (a) the backoutRequeue properties of the queue, and (b) the dead-letter queue of the queue manager.

The description of poison message handling at http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzaw.doc/jms77a4.htm (scroll down to "Handling poison messages") is relevant when running MQ JMS both within and outside an application server. XMS (always running outside an app server) should also follow the same rules.
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Jul 19, 2006 2:55 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Sample Java code to backout message based on queue attributes...

http://www-304.ibm.com/jct09002c/isv/tech/sample_code/mq/backout.java
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ Message 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.