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 » Referring Promoted Property in esql

Post new topic  Reply to topic
 Referring Promoted Property in esql « View previous topic :: View next topic » 
Author Message
GeneRK4
PostPosted: Fri May 09, 2014 12:29 am    Post subject: Referring Promoted Property in esql Reply with quote

Master

Joined: 08 Jul 2013
Posts: 220

Hi,
I have a design where I have a Trigger Queue in a subflow.
This subflow is a reusable utility.This trigger queue name will change in each Application where this subflow is referred.
This Trigger queue is an MQInput node Queue name.In the previous compute node,in LocalEnvironment,we are setting this queue name for the Trigger queue.
If it were MQGet node,we can take it as UDP property and refer in LocalEnvironment.
But since it is MQInput node(for Trigger queue),I think only option is promote property.And if so,how can we refer the promoted property in the previous compute node esql?
Need suggestion please...
Back to top
View user's profile Send private message
Esa
PostPosted: Fri May 09, 2014 12:34 am    Post subject: Re: Referring Promoted Property in esql Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

Just read MQMD.SourceQueue from the input message. It doesn't have to be more complicated than that.
Back to top
View user's profile Send private message
Esa
PostPosted: Fri May 09, 2014 12:49 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

I read again.

So you have a sublow file that contains a subflow and a separate 'trigger' msgflow and you would like to know what the name of the input queue of the trigger flow is in runtime?

GeneRK4 wrote:
But since it is MQInput node(for Trigger queue),I think only option is promote property.And if so,how can we refer the promoted property in the previous compute node esql?


An MQInput node cannot have a previous compute node.
So obviously the compute node is previous to an MQ Output node that is supposed to put a message in the trigger queue.

And you would like to resolve the queue name dynamically.

An alternative would perhaps be to promote both MQInput.queuename and MQOutput.queuename to one single promoted property? Then you wouldn't have to resolve anything dynamically.
Back to top
View user's profile Send private message
GeneRK4
PostPosted: Sun May 11, 2014 9:13 pm    Post subject: Reply with quote

Master

Joined: 08 Jul 2013
Posts: 220

Esa wrote:

An alternative would perhaps be to promote both MQInput.queuename and MQOutput.queuename to one single promoted property? Then you wouldn't have to resolve anything dynamically.


Great answer...! I will try this and let you know..
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 » Referring Promoted Property in esql
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.