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 » WebSphere Message Broker (ACE) Support » Design issue

Post new topic  Reply to topic
 Design issue « View previous topic :: View next topic » 
Author Message
dipankar
PostPosted: Wed May 23, 2007 7:37 am    Post subject: Design issue Reply with quote

Disciple

Joined: 03 Feb 2005
Posts: 171

Hi All,
WBI MB5, WIN XP
Me requirements:
For single input message, I will create multiple messages(say 20) using propagate. For example - now after processing 10 messages, my message flow is getting exception. So here I want to roll back whole messages and get the original message into failure queue or backout queue of input queue.

Now if I connect catch and failure terminal of MQInput node with trycatch node and afterwards some processing node for error handler, I am getting 10 messages at output queue which I don't want.

So I remove trycatch node and connect catch (not failure) terminal with direct error handler with throw node (for getting message at backout queue as well as for roll backing the first 10 output messages). Now everything is fine. But still one issue is here

If somehow MQInputNode itself creates an exception, I will not get exception list tree to error handler, only original message in the backout queue.

Could anyone suggest me how I can get exceptionlist everytime keeping mind that I need to rollback whole transaction if any exception occurs while processing?

Thanks in advance.
_________________
Regards
Back to top
View user's profile Send private message
madi
PostPosted: Wed May 23, 2007 12:21 pm    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

actually u can set the whole backout thing by setting Transaction Mode to 'No' in the mq output

and after u handle ur exception, rethrow the exception so that the transaction is rolled back to ur backout queue

--madi
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 » WebSphere Message Broker (ACE) Support » Design issue
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.