|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
share data between flows |
« View previous topic :: View next topic » |
Author |
Message
|
mikivin |
Posted: Tue Nov 14, 2006 1:45 am Post subject: share data between flows |
|
|
Novice
Joined: 06 Apr 2006 Posts: 10
|
Hi All,
I need to share data between flows . After realizing that global environment it's not really global -only into one flow, I need to store information in memory that all flows will have one global repository. This repository should be live as broker is live. I can't store it into DB because of perfomance . I will be glad hear solution for this requirement. How can I do it ?
Thank in advance
Miki |
|
Back to top |
|
 |
elvis_gn |
Posted: Tue Nov 14, 2006 2:01 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi mikivin,
The global environment can be made global to the Execution group..i think
But in any case, my suggestion would be to use the DB itself...
The disadvantage of keeping in the flows would be that every time you remove all the flows and deploy again, the environment would be lost...
The advantage of using the DB would be that, anytime you want to change the configuration, all u need to do is change a row in a table...and the flow remains intact in deployment...
Plus to some level, you could also do versioning of your flow with different config data for the same flow, thus the same flow working in different ways in different places....
All this data in Environment would definitely hamper performance.
Regards. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Nov 14, 2006 2:34 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
elvis_gn wrote: |
The global environment can be made global to the Execution group..i think |
That depends on what you mean by the global environment.
You can not share anything in the Environment tree. That tree exists only during processing of a particular message in a particular instance of a particular message flow.
The only options you have for sharing data between different flows on different execution groups are using a database or using the Broker Domain data store Support Pack.
If you want to share data between dfiferent flows in the same execution group, you can use a JavaCompute node to create and access a singleton. If you want to share data between different instances of the same flow, you can use ESQL shared variables. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|