|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Not able to configure MQOutput nodeproperties at runtime |
« View previous topic :: View next topic » |
Author |
Message
|
satchin |
Posted: Thu Aug 11, 2011 7:08 am Post subject: Not able to configure MQOutput nodeproperties at runtime |
|
|
Apprentice
Joined: 08 Feb 2011 Posts: 33
|
Hi All,
I have designed a message flow MQInpt->Compute->MQOuptput, I am trying to configure MQOutput node's queue and queuemanager at runtime and set the MQOutput node DestinationMode to DestinationList and given the following code in ESQL
SET OutputLocalEnvironment.Variables.OutputLocation = 'MQ';
SET OutputLocalEnvironment.Destination.MQ.DestinationData.queueManagerName = 'MB7QMGR';
SET OutputLocalEnvironment.Destination.MQ.DestinationData.queueName = 'TEST_OUT';
I am getting the following exception
( MB7BROKER.default ) Output node 'Alias.MQ Output' expected a distribution list but one did not exist. State = '-1' ''MQW005'' '0' ''''
An MQ output node with the "Destination Mode" property set to "list" received a message but there was no valid distribution list, that is, it did not contain a "Destination" folder in turn containing an "MQ" folder.
Check the message flow to determine whether the message is being built correctly, correct the problem and redeploy the broker.
Please provide me solution for this.
Regrds
Satchin |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 11, 2011 7:18 am Post subject: Re: Not able to configure MQOutput nodeproperties at runtime |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
satchin wrote: |
Please provide me solution for this. |
You've already noted that the Destination folder which you've built in the LocalEnvironment is not reaching the MQOutput node. Think about why that could be, given that LocalEnvironment is local and not part of the message tree.
Then look at the properties of the Compute node. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
satchin |
Posted: Thu Aug 11, 2011 7:51 am Post subject: Not able to configure MQOutput nodeproperties at runtime |
|
|
Apprentice
Joined: 08 Feb 2011 Posts: 33
|
Thanks Vitor,
I am able solve this problem, I have changed the comput node's ComputeMode property to LocalEnvironment, then I am able to route output message to multiple destination queues which can be configured at runtime. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 11, 2011 7:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|