|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Application launch order |
« View previous topic :: View next topic » |
Author |
Message
|
Jenum |
Posted: Wed Mar 20, 2019 10:10 pm Post subject: Application launch order |
|
|
Novice
Joined: 13 Nov 2012 Posts: 24
|
Good day!
Is it possible to determine the order of launching applications at the start of the execution group?
It is need to start specific application first, which will be configure some parameters for other applications.
I know about "start mode" parameter, but i want to safe exactly "Maintained" value for all applications.
P.S. I use IIB 10.0.0.13. |
|
Back to top |
|
 |
timber |
Posted: Thu Mar 21, 2019 2:56 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
IIB does not have any mechanism to declare dependencies between message flows. Message flows should be designed to be independent of one another.
One solution is to store the config for each message flow in a SHARED variable that gets initialized the first time the message flow runs. |
|
Back to top |
|
 |
Jenum |
Posted: Thu Mar 21, 2019 4:57 am Post subject: |
|
|
Novice
Joined: 13 Nov 2012 Posts: 24
|
It's a pity i want to don't start message handling until settings for the flow would be obtained.
It seems like it is need to use "start mode" + CMP
Thank you for reply! |
|
Back to top |
|
 |
Vitor |
Posted: Thu Mar 21, 2019 5:11 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
I'm inclined to agree with my worthy associate. Building this kind of dependency can make your solution brittle. What would happen if (as an example) one of the applications had to be restarted due to an issue? You're stuck with restarting the entire execution group, which is a pain, unless the broker automatically restarts an application and you don't notice you need to restart the entire execution group and then you have a huge mess on your hands.
Your site, your solution, your judgement of course but it's worth keeping this sort of thing in mind during the design phase. The more robust your solution, the less you're woken up at 3am because the sky is falling. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|