ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Not able to configure MQOutput nodeproperties at runtime

Post new topic  Reply to topic
 Not able to configure MQOutput nodeproperties at runtime « View previous topic :: View next topic » 
Author Message
satchin
PostPosted: Thu Aug 11, 2011 7:08 am    Post subject: Not able to configure MQOutput nodeproperties at runtime Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Aug 11, 2011 7:18 am    Post subject: Re: Not able to configure MQOutput nodeproperties at runtime Reply with quote

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
View user's profile Send private message
satchin
PostPosted: Thu Aug 11, 2011 7:51 am    Post subject: Not able to configure MQOutput nodeproperties at runtime Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Aug 11, 2011 7:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Not able to configure MQOutput nodeproperties at runtime
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.