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 » environment variables

Post new topic  Reply to topic
 environment variables « View previous topic :: View next topic » 
Author Message
wmqiadmin
PostPosted: Tue Feb 27, 2007 9:25 pm    Post subject: environment variables Reply with quote

Disciple

Joined: 19 Jun 2005
Posts: 163
Location: epping UK

Hi All,

I have a requirement of setting environment variables so that they should stay there and we should be able to access those set values in multiple instance of another flow or multiple flows.

I tried the shared variable example from Routing message flow in sample gallery, but it didin't worked.

Can any buddy give me a good example how to do it or any link where i can find some sample for this.

Thanks
wmqiadmin
Back to top
View user's profile Send private message
au@kosa
PostPosted: Tue Feb 27, 2007 11:35 pm    Post subject: Reply with quote

Centurion

Joined: 04 Jan 2007
Posts: 103
Location: pune

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

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ad09260_.htm
_________________
Regards,
au@kosa
IBM Certified SOA Solution Designer/Associate
Back to top
View user's profile Send private message Yahoo Messenger
wmqiadmin
PostPosted: Wed Feb 28, 2007 2:32 am    Post subject: Reply with quote

Disciple

Joined: 19 Jun 2005
Posts: 163
Location: epping UK

Thanks au@kosa,

Can you please be more generic how can i do this through Message Set??

Thanks
wmqiadmin
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 28, 2007 3:11 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Message sets describe data.

They don't perform any actions.

You can not generically "share" data between different flows without using a persistent data store of some kind, that is accessible to all of those flows.

Like, perhaps, a database.


_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wmqiadmin
PostPosted: Wed Feb 28, 2007 5:17 am    Post subject: Reply with quote

Disciple

Joined: 19 Jun 2005
Posts: 163
Location: epping UK

That is true jeff, but my company doesn't want to use database (my bad)

Also can we declare shared variables and share those across or in different instance of the message flow.

One more thought on this... can i initiate basic message flow which will set these environment values and then initiate another flow which actually execute the message massaging....

I tired this by using aggregation node as per the air ticket sample but could not test successufly... any thoughts on this.

thanks
wmqiadmin
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 28, 2007 5:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can't share variables between different message flows.

You can share data by 1) putting it into the message (preferrably in the MQRFH2 header or a custom header), 2) putting it in a database!, 3) using the Broker Domain Cache nodes (support pack IA91), 4) putting it into a different message and retrieve it with the MQGet node, or 5) a few other fancier tricks for performing Stateful Processing with Message Broker.

I've listed those in order of utility.

Also, I don't know what you mean by
Quote:
initiate another flow which actually execute the message massaging....


Flows are initiated by Input nodes, of various flavors.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wmqiadmin
PostPosted: Wed Feb 28, 2007 5:47 am    Post subject: Reply with quote

Disciple

Joined: 19 Jun 2005
Posts: 163
Location: epping UK

Thanks Jeff, these are some new avenues to look into....

jefflowrey wrote:


Also, I don't know what you mean by
Quote:
initiate another flow which actually execute the message massaging....


Flows are initiated by Input nodes, of various flavors.


I meant e.g. initiate a subflow or a flow using aggregation node and then initiate another flow...off course by using MQinput queue.
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 » environment variables
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.