|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message/Document content in Environment |
« View previous topic :: View next topic » |
Author |
Message
|
gappodi |
Posted: Tue Jan 13, 2015 10:44 pm Post subject: Message/Document content in Environment |
|
|
 Voyager
Joined: 05 Sep 2014 Posts: 76
|
I am going to ask a very generic question w.r.t. the way an application is developed ( rather I have developed ) in Message Broker.
Our application has quite a few message flows/subflows that processes a document. During its execution it creates a lot of other documents/messages, save it in the Environment variables ( not the system environment variables ) and use/modify down the line until the execution finishes.
My question is, is it an encouraged practice to save messages in the Environment variables ? Doesn't it make the Environment variable HEAVY and look ugly ? Is there any other way via which we can create messages during the flow execution and keep it somewhere for using it further.
The reason why I am asking this is I do NOT want to just over flood the environment variables. |
|
Back to top |
|
 |
kimbert |
Posted: Wed Jan 14, 2015 2:08 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
is it an encouraged practice to save messages in the Environment variables ? |
Yes
Quote: |
Doesn't it make the Environment variable HEAVY |
Possibly. It depends on a lot of things.
Beauty is in the eye of the beholder.
Quote: |
Is there any other way via which we can create messages during the flow execution and keep it somewhere for using it further. |
Yes - there are many ways. ExtremeScale cache, Java singleton, Database, File, MQ queue etc
Summary : There is nothing wrong with using the Environment to store a message, or even to store several messages. You obviously have a particular design problem in mind, but we don't know what it is, so it is difficult to give useful advice. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
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
|
|
|
|