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 » rollback inside a Subflow based on the success Main Flow

Post new topic  Reply to topic
 rollback inside a Subflow based on the success Main Flow « View previous topic :: View next topic » 
Author Message
tonythomasantony
PostPosted: Thu Sep 25, 2008 1:49 am    Post subject: rollback inside a Subflow based on the success Main Flow Reply with quote

Apprentice

Joined: 12 Aug 2006
Posts: 47

Hi ,
my message flow contain 2 subflow.One subflow will put the incoming message to a Queue using MQoutPut node.Second subflow will follow the first one and this subflow update the DB.
My problem is if something goes wrong in the second subflow i wanted to rollback the putting of message to the queue,which done by first subflow.
How i can achieve this?

MqInput>SF1>SF2

SF1
---
input>compute>MqOutput_>Output
SF2
---
Input>compute>Output


i used Transaction=Yes and Persistence=Yes for the MQOutput iside SF1

regards,
Tony
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Sep 25, 2008 2:19 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I would have thought this would work as it stands.

I assume WMB ends the unit of work when the entire message flow ends (sub flows have no run-time significance since they just include code).
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 » rollback inside a Subflow based on the success Main 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.