Posted: Thu Dec 11, 2003 5:26 am Post subject: Single -> Multiple message generation
Partisan
Joined: 19 Aug 2002 Posts: 305 Location: Green Mountains of Vermont
I have a requirement to generate 2 different messages from one input message, where each message is delivered to a different queue. Each message is a different subset of the original. Any ideas on a msgflow configuration? I was thinking:
mqinput -> compute1(first message) -> compute2(second message) and then I'm lost on how to put each message to a different queue
Simple way:
MQInput-+->Compute1 ---> MQOutput
|->Compute2 ---> MQOutput
Output terminal of MQInput is connected to both Compute1 and Compute2.
Snazzier way:
MQInput--->Compute1 --->MQOutput
MQOutput node is set up to put to a destination list.
Compute1 creates the first message, and assigns the first queue as the only element in the destination list. Compute1 then uses the Propogate function.
Compute1 then repeats for the second message and queue.
Over engineered way:
MQInput--->Compute1--->RouteToLabel
LabelForMessage1-->Compute2-->RouteToLabel (could be first RTL node)
LabelForMessage2-->Compute3-->RouteToLabel (could be first RTL node)
LabelForOutput--->Compute4--->MQOutput _________________ I am *not* the model of the modern major general.
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
Flow Order could only be used with the "Simple Way". And it would only be of use if it was important that the message be processed by Compute1 before Compute2.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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