Author |
Message
|
mbtech |
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';
|
In o/p queue destination mode as destination list
what apart from this am i missing?l |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 14, 2013 5:42 am Post subject: Re: config of one i/p q and multiple o/q |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mbtech wrote: |
what apart from this am i missing?l |
Setting the MQOutput node to use the distribution list? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Feb 14, 2013 5:50 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Thu Feb 14, 2013 5:59 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
lancelotlinc wrote: |
Set the propagation mode of the Compute node to include LocalEnvironment. |
You mean like
mbtech wrote: |
In compute--compute mode as LOCALENVIRONMENT & MESSAGE |
Or did you mean something else?
Vitor wrote: |
Setting the MQOutput node to use the distribution list? |
You mean like
mbtech wrote: |
In o/p queue destination mode as destination list |
Or something else?
There's nothing apparently wrong with what has been specified was done.
A trace of some kind is a good idea to start with. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Feb 14, 2013 6:03 am Post subject: |
|
|
 Jedi Knight
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 |
|
Back to top |
|
 |
|