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 » Promote Properties Issue

Post new topic  Reply to topic
 Promote Properties Issue « View previous topic :: View next topic » 
Author Message
SandiSan
PostPosted: Wed Apr 18, 2007 7:24 am    Post subject: Promote Properties Issue Reply with quote

Acolyte

Joined: 01 Apr 2006
Posts: 57
Location: Pune/India

Hi ,

I am woking with a msg flow which is like this

mqi/p--subflow1--subflow2--mqo/p

I have created UserDefineProperties in subflow1 and promoted to main flow
and trying to access the property in subflow2 but i am getting null value

please guide me to resolve this issue

Regards
Sandisan
Back to top
View user's profile Send private message Yahoo Messenger
Rodeo
PostPosted: Wed Apr 18, 2007 7:29 am    Post subject: Reply with quote

Apprentice

Joined: 11 Apr 2007
Posts: 30

Did you promote the properties in Subflow2?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 18, 2007 7:33 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I think it doesn't work that way.

I think you have to define your UDPs in both subflows. Then if you want them to have the same value, you can promote them to the same name on the main flow.

But they'll still be different UDPs.

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac00643_.htm
Quote:
Similarly, if you use the Message Flow editor to change the value of a user-defined property in a subflow, the newly edited property is available to all the nodes in the subflow that support UDPs and that are within the scope of the declaration. It is not available, for example, to nodes in the parent flow.

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
SandiSan
PostPosted: Wed Apr 18, 2007 8:19 am    Post subject: Promote Properties Issue Reply with quote

Acolyte

Joined: 01 Apr 2006
Posts: 57
Location: Pune/India

Hi,


Here i have created UDP's in subflow1 and i have promoted to main flow.Now i need to access those properties from main flow to subflow2.


Regards,

Sandisan
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Wed Apr 18, 2007 8:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I think you can't do it that way.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Rodeo
PostPosted: Wed Apr 18, 2007 8:44 am    Post subject: Reply with quote

Apprentice

Joined: 11 Apr 2007
Posts: 30

Did you try using DECLARE varname EXTERNAL character; ??

Quote:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ak04980_.htm


Use EXTERNAL to denote a user-defined property (UDP). A UDP is a user-defined constant whose initial value (optionally set by the DECLARE statement) can be modified, at design time, by the Message Flow editor, or overridden, at deployment time, by the Broker Archive editor. Its value cannot be modified by ESQL.
Back to top
View user's profile Send private message
Balaji_P
PostPosted: Wed Apr 18, 2007 10:06 pm    Post subject: Reply with quote

Apprentice

Joined: 05 Sep 2006
Posts: 36
Location: Chennai

UDPS nesting is restricted to only one level.

you can't acess the UDP promoted to main flow in your subFlow 2. please go through below link:

http://www-1.ibm.com/support/docview.wss?uid=swg1IY91218

Solution is Patch...

Regards
Balaji.P
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 » Promote Properties Issue
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.