|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
2-Phase Commit problem in a message flow |
« View previous topic :: View next topic » |
Author |
Message
|
loveneesh |
Posted: Tue Apr 09, 2002 11:08 pm Post subject: |
|
|
Novice
Joined: 24 Mar 2002 Posts: 11
|
Thanks Miriam.
But I have come across another problem as in this process message will be put to the MQOUTPUT Q(EXCEPTION) as well as Back Out Queue of the Input queue.
Any way to resolve that??
|
|
Back to top |
|
 |
kirani |
Posted: Wed Apr 10, 2002 9:17 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
This is happening because your Failure terminal is not connected. So your message will end up in 2 queues (EXCEPTION and BaCKOUT). Typically you should connect failure terminal of MQInput node.
MQInput (out)-> your main processing
MQInput (catch) -> handle your error here (like a trace node which logs ExceptionList) -> Throw node (to throw back the exception)
MQInput (failure) -> MQOutput node ( writing message to Exception queue)
_________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
loveneesh |
Posted: Thu Apr 11, 2002 4:13 am Post subject: |
|
|
Novice
Joined: 24 Mar 2002 Posts: 11
|
Thanks Kirani,
Can't the duplicacy of the messages be stopped as I have to use some other queue on which the messages will be put and some programme to clear that queue.
|
|
Back to top |
|
 |
kirani |
Posted: Thu Apr 11, 2002 2:37 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
If you want message in only one queue, lets say BACKOUT queue, then don't connect anything to the catch & Failure terminal of MQInput node. In case of errors, broker will rollback your transactions and move your message to BACKOUT queue. You will have only one copy of the message in BACKOUT queue.
_________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|
|
|
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
|
|
|
|