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 » IBM MQ Installation/Configuration Support » Routine to move message on Rollback

Post new topic  Reply to topic
 Routine to move message on Rollback « View previous topic :: View next topic » 
Author Message
vedantpatil
PostPosted: Wed Jun 29, 2005 9:07 pm    Post subject: Routine to move message on Rollback Reply with quote

Novice

Joined: 10 Mar 2005
Posts: 19

Our Design consists of an interface between Weblogic 8.1 SP3 and Websphere MQ 5.3 CSD 9, both on Windows 2000.

A Message Driven Bean is deployed on Weblogic with Container Managed Transaction.

The message is picked up properly and whenever an exception is thrown while processing the message, the Container rolls back the transaction and the message is put back into the Queue.

We want to re-direct the message to a DEAD LETTER Queue once it has been rollbacked and then process it offline using an specific Error processing MDB.

We want a process which can transfer a message from one queue to another, whenever a message has been rollbacked.

Can anyone provide some inputs on this
Thanks in Advance.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Thu Jun 30, 2005 12:10 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

Check the backoutcount field of the MD, this should help you to write your own program to put a rolledback message elsewhere
_________________
Regards, Butcher
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Jun 30, 2005 9:32 am    Post subject: Reply with quote

Jedi Knight

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

Check out:

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

and look for the word backout. These are sample programs that show moving a message to a backout 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 » IBM MQ Installation/Configuration Support » Routine to move message on 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.