|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
using Environment in message flow. |
« View previous topic :: View next topic » |
Author |
Message
|
know_ashu |
Posted: Sat Sep 24, 2005 3:36 am Post subject: using Environment in message flow. |
|
|
Novice
Joined: 25 Jun 2005 Posts: 22
|
Hi,
I am using WMQI2.1 and have been using 'Environment' to keep variables in my message flow. e.g.
SET Environment.Variable.ABC = 'PQR';
I have meny of variables (around 20-25) set into environment in my message flow that I am using in my last node to put the values from environment variables into an output XML file.
Now I am apprehensive thinking that if these will create any problem when lots of messages will be flowing thru my message flow. I am not sure abt whats the scope of Environment variables in a message flow. if any of the environment variables still available when another message is flowing thru this flow..it may impact the expected output message.
Please help....
Kindly tell me where can I get more details about it?
If Environment is not a correct thing to use...then whats the best alternative? |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Sep 24, 2005 4:10 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Environment is the correct thing.
No part of any of the message trees are shared between invocations of a flow. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mgk |
Posted: Sun Sep 25, 2005 3:39 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
Hi
For information, in message broker V6 you can have declare variables of any datatype that are shared either "node wide" or "flow wide" accross theads. You can also declare variables of type ROW which allows you so create shared trees. In addition, all variables that are shared keep their values from one message to the next, until the flow is stopped (redeployed to, stopped, etc)
regards,
MGK _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|