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 » Message transaction between two flows.

Post new topic  Reply to topic
 Message transaction between two flows. « View previous topic :: View next topic » 
Author Message
yadav.neeraj01
PostPosted: Tue Dec 16, 2014 11:06 pm    Post subject: Message transaction between two flows. Reply with quote

Apprentice

Joined: 23 Feb 2011
Posts: 49

I have a requirement...Let say there are two flows each consisting of MQInput--->Compute--->MQOutput, output of first flow act as a input of another flow. We are transforming the input message in first flow. Now requiremnt is, we need the transformed and original message both at a part of transaction in second flow. How can we achieve this??
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Dec 17, 2014 5:52 am    Post subject: Re: Message transaction between two flows. Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

yadav.neeraj01 wrote:
we need the transformed and original message both at a part of transaction in second flow.


Do you mean that you want the original message rolled back onto the original input queue in the event of a failure?

yadav.neeraj01 wrote:
How can we achieve this??


Rewrite this as a single flow.

If, however, you mean that you need both the original message and the resulting transformed message both available to the second flow then you simply have the first flow produce a copy of the original message and the transformed message as output (consider a FlowOrder node). You then correlate both messages in the second flow using a Collector node and presto! The contents of both messages are in the same message tree in the second flow.

Sorted.
_________________
Honesty is the best policy.
Insanity is the best defence.


Last edited by Vitor on Wed Dec 17, 2014 5:52 am; edited 1 time in total
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Dec 17, 2014 5:52 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

By transforming the message to contain the data you need in the second flow.
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 » Message transaction between two flows.
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.