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 » 2-Phase Commit problem in a message flow

Post new topic  Reply to topic Goto page Previous  1, 2
 2-Phase Commit problem in a message flow « View previous topic :: View next topic » 
Author Message
loveneesh
PostPosted: Tue Apr 09, 2002 11:08 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kirani
PostPosted: Wed Apr 10, 2002 9:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
loveneesh
PostPosted: Thu Apr 11, 2002 4:13 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kirani
PostPosted: Thu Apr 11, 2002 2:37 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » 2-Phase Commit problem in a message flow
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.