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 » Accessing promoted properties

Post new topic  Reply to topic
 Accessing promoted properties « View previous topic :: View next topic » 
Author Message
trevv
PostPosted: Wed Jun 11, 2003 9:51 am    Post subject: Accessing promoted properties Reply with quote

Newbie

Joined: 11 Jun 2003
Posts: 1

Greetings.

I have a Main Message Flow(A) which calls a subflow(B). I have promoted the
DataSource property(X) of the subflow(B) and assigned a default value('IN').
On the Main Message Flow(A), I right clicked on the subflow(B) and assigned a
value( 'OUT') to the promoted property(X).

Question 1:
How do I access the value of the promoted property(X) from a compute node within the subflow(B)?
I would like to use it in a SET command. I thought it would be something like:

DECLARE vSourceTerminal CHARACTER;

SET vSourceTerminal = "Environment"."Variables"."dataSource";
OR
SET vSourceTerminal = "InputRoot"."Properties"."dataSource";


Question 2:
I then renamed the promoted property(X) to "Source Terminal". How do I access the value of
the promoted property( "Source Terminal") from a compute node within the subflow(B)?
I thought it would be something like:

DECLARE vSourceTerminal CHARACTER;

SET vSourceTerminal = "Environment"."Variables"."Source Terminal";
OR
SET vSourceTerminal = "InputRoot"."Properties"."Source Terminal";


Thank you in advance.
_________________
Green
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Wed Jun 11, 2003 2:59 pm    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

I'm not sure if you can access the DataSource in your ESQL, because if it was possible it would have been very useful for me.
I decided against using the promote property and actually have three versions of the code where each version has the datasource set to the value in that environment explicitly in the node.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kirani
PostPosted: Wed Jun 11, 2003 10:10 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

As shalabh1976 said, it is not possible to access promoted property thru ESQL (programatically).
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Accessing promoted properties
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.