Posted: Mon Sep 09, 2002 9:38 am Post subject: creating one output message from multiple input
Apprentice
Joined: 27 Jun 2002 Posts: 39 Location: New York
Hi,
Is it possible to do something like oposite of PROPAGATE function? which means create one mq output message from multiple input?
Can compute node wait untill it recieives several input messages and only then generates one message that will be propagated?
What would be UOW in such a case?
First solution i can think of is by using MQGet node (IA09 Support pac.
http://www-3.ibm.com/software/ts/mqseries/txppacs/ia09.html).
After input node gets the first message, message flow can have loop on MQGet node to get other messages till you get enough message for forming output message. You can store intermediate messages in an array.
Another solution, Get message one by one and store it in database until you receive enough messages to form output message.
Joined: 31 May 2002 Posts: 32 Location: London, UK
i agree - the aggregate node is intended for this - you may run into trouble if you are using attribute XML though - think there is a problem with returning all the original data stored.
there is a walkthrough section in the red book SG246509 which takes you through setting up the required message flows for these nodes _________________ Julian Douch
E-business Solutions Consultant
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