Author |
Message
|
leo.yue |
Posted: Mon Mar 13, 2006 10:02 am Post subject: about bar file deployment |
|
|
Acolyte
Joined: 20 Oct 2004 Posts: 52
|
One scenario: there is a bar file including some message flows, and this bar file has been deployed one execution group. Now I update a message flow in this bar file, when re-deploying this bar file, what will happended?
I wonder whether only updated message flow will be re-deploy, and those un-changed flows will not been modify. Thanks in advance. |
|
Back to top |
|
 |
mqmatt |
Posted: Mon Mar 13, 2006 10:10 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
For each file in a broker archive, if a file of that name has already been deployed in the execution group, it will be replaced. Otherwise, it will complement what is already there.
So when you replace one version of a message flow with another in a BAR file and redeploy it, then the flow will be updated with the new version.
Hope this makes sense!
-Matt |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Mar 13, 2006 10:50 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Matt -
Suppose I deploy the following, in order :
Bar 1 to Execution Group 1:
Message Flow 1, which uses SubFlow 1 and SubFlow 2
SubFlow 1
SubFlow 2
Bar 2 to Execution Group 2:
Message Flow 2, which uses SubFlow 1 and SubFlow 3
SubFlow 1
SubFlow 3
Bar 1 To Execution Group 1:
SubFlow 1 has been updated (deleted and re-added)
Will Message FLow 2 use the new version of SubFlow 1? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Bill.Matthews |
Posted: Mon Mar 13, 2006 2:32 pm Post subject: |
|
|
 Master
Joined: 23 Sep 2003 Posts: 232 Location: IBM (Retired)
|
a subflow ONLY exists in the toolkit! When a message flow that uses the subflow is added to the bar file, the subflow becomes part of the message flow. Subflows do NOT exist in a broker. _________________ Bill Matthews |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Mar 13, 2006 2:40 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I knew that.  _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
leo.yue |
Posted: Tue Mar 14, 2006 7:10 am Post subject: |
|
|
Acolyte
Joined: 20 Oct 2004 Posts: 52
|
thanks for your reply.
Quote: |
So when you replace one version of a message flow with another in a BAR file and redeploy it, then the flow will be updated with the new version.
|
You mean all the flows will be updated even they have not new version? |
|
Back to top |
|
 |
mqmatt |
Posted: Tue Mar 14, 2006 9:26 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
leo.yue wrote: |
You mean all the flows will be updated even they have not new version? |
Yes, that's correct; if they are in the BAR file, they will be redeployed. |
|
Back to top |
|
 |
|