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 » WMB 6.1.04 Question On Message Flow Design

Post new topic  Reply to topic
 WMB 6.1.04 Question On Message Flow Design « View previous topic :: View next topic » 
Author Message
ein
PostPosted: Thu Apr 01, 2010 12:07 am    Post subject: WMB 6.1.04 Question On Message Flow Design Reply with quote

Centurion

Joined: 14 Mar 2009
Posts: 108

Hello All,

I have the following requirement, i.e: The message flow needs to send the Data to Q then after it needs to update the Database.
If any either case fails the flow has to roll back. So I designed the Flow like

Input Node --> MQOutput Node ----> compute Node.

First Data arrives to my subflow, then it will put the data into the queue, then after it will update the Database.

But here i am facing one issue here. If the Database fails , then flow has to roll back, But the data which the message flow placing in Q[MqOutput Node]. is not getting back. And it throws an exception on Db failure

By default the MQ Input Node Transaction Mode property is yes. So I am expecting that the flow has to roll back.

Can any one suggest me , what i did wrong and tell me the best approach to achive my requirement.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Thu Apr 01, 2010 12:36 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

How does the parent flow handle the exception?

Make sure you understand the transaction rollback behaviours of WMB in the event of an exception. This is worth a read: http://www.redbooks.ibm.com/abstracts/redp4043.html
Back to top
View user's profile Send private message
ein
PostPosted: Thu Apr 01, 2010 1:16 am    Post subject: Reply with quote

Centurion

Joined: 14 Mar 2009
Posts: 108

I have Common Exception Handling Flow,
Which catches the Exception
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 » WMB 6.1.04 Question On Message Flow Design
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.