Posted: Thu Feb 14, 2013 12:45 am Post subject: config of one i/p q and multiple o/q
Apprentice
Joined: 18 Jul 2012 Posts: 36
Iwant to send a message from one input queue to multiple output queues
it could be done throough destinaltion list
In i/p queue nothing changed much apart from qname xmlnsc parser
In compute--compute mode as LOCALENVIRONMENT & MESSAGE
coding as
Code:
CALL CopyEntireMessage();
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueName = 'SUB.INQ.SPORTS';
SET OutputLocalEnvironment.Destination.MQ.DestinationData[2].queueName = 'SUB.INQ.SPORTSNSTOCKS';
SET OutputLocalEnvironment.Destination.MQ.DestinationData[3].queueName = 'SUB.INQ.STOCKS';
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
Putting ample Trace nodes in the right places will give the developer insight as to what data is being propagated.
Is the DestinationList being propagated to the MQOutput node? We don't know until a Trace node is placed just before the MQOuput node. The OP SAYS he set the Compute property, but how can we be sure? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
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