|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Design issue |
« View previous topic :: View next topic » |
Author |
Message
|
dipankar |
Posted: Wed May 23, 2007 7:37 am Post subject: Design issue |
|
|
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 |
|
 |
madi |
Posted: Wed May 23, 2007 12:21 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|