Author |
Message
|
kwelch |
Posted: Fri May 14, 2004 11:50 am Post subject: clarification on import of messageflows |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Hi,
We use WMQI 2.1 csd 5. I have read the manuals and am still unclear about what happens when importing a messageflow with subflows. Here is the scenario:
I make a change to my messageflow in the dev environment and am ready to move it to the qa environment. I export the messageflow and in that export file I also get the subflow. When I import that messageflow into the qa environment, if I don't have the subflow checked out, but I do have checked Replace resources in Configuration Manager if not locked, will I be overlaying my subflow when I deploy the messageflow? It kinda sounds like it but I am not sure. Thanks for any clarification that can be provided.
Karen |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat May 15, 2004 3:20 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
To the best of my memory, you will be overwritting all instances of the subflow in the same execution group with your new subflow.
You may or may not be overwriting all instances of the subflow in the same broker. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kirani |
Posted: Sun May 16, 2004 10:56 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
I guess what Jeff is trying to say is that it depends on your Deploy Operation. If you submit a delta or complete deploy of one particular EG, then all message flows in that EG using this particular sub-flow will get the new copy.
If you are using delta or complete deploy of the Broker then all message flows using this sub-flow will get the new copy. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon May 17, 2004 3:44 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
DEV Config Manager has FlowA (lets call it Version1.1)
DEV Config Manager has SubFlowX (Version3.9)
FlowA uses SubFlowX
QA Config Manager has FlowA (Version1.0)
QA Config Manager has SubFlowX (Version3.7)
I want to promote FlowA (Version 1.1) into QA, but SubFlowX (Version3.9) is not ready yet to go to QA. When my Deploy is done in QA, I want to have FlowA(Version1.1) running SubFlowX(Version 3.7).
So when I am about to Import FlowA(Version1.1) into my QA Config Manager, and I have checked off "Replace resources in Configuration Manager if not locked", will I drag SubFlowX(Version 3.9) into QA unintentionally?
I don't *think* this question is effected by whether I will do a Delta or a Complete deploy. The question is more about what I will get into the config manager for the eventual deploy, whatever type it ends up being. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
kwelch |
Posted: Mon May 17, 2004 6:20 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Peter,
I think we left out one of the steps here. I send you an exported xml file(messageflow 1.1 and subflow 3.9 by default of the export command). I then put in a request to Peter's team to promote my messageflow only to the QA environment. Before Peter does the import he deletes MessageFlow A v 1.0 in the QA environment. He does not delete the subflow v 3.7 though. However, when he does the import, he checks the box Replace resources in Configuration Manager if not locked Our question is will the subflow automatically be replaced because of this box being checked? If yes, then we understand that where it gets changed depends on where the subflow is used and whether it is an execution group deploy vs. a broker deploy. Our misunderstanding is the meaning of this check box Replace resources in Configuration Manager if not locked. Hopefully that clarifies and doesn't make it muddier! Thanks!
Karen |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon May 17, 2004 6:29 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I don't know that this helps, but
Websphere MQ Integrator Working With Control Center manual wrote: |
When the import action has completed, the results of the import operation are
shown in a dialog containing a list of imported resources.
* For Message Flows with Replace resources in configuration manager if not
locked selected:
– If the object you want to import already exists in a shared configuration and
it is checked out by you, the normal rules for import apply (described in
"Normal import rules", below in this list).
– If the object you want to import already exists in a shared configuration and
it is checked out to another user nothing about the object is changed.
– If the object you want to import already exists in a shared configuration and
it is not checked out to another user:
- The object is imported.
- If it is not already in your workspace, it is added to the workspace.
- It appears in the appropriate view.
- It is marked by the New icon.
* For Message Flows with Replace resources in configuration manager if not
locked not selected
The normal rules for import apply (described in "Normal import rules").
* Normal import rules: For all objects (except for aspects of message flows
described earlier) the following rules apply:
– If the objects you want to import already exist in a shared configuration you
must check them out.
– If the objects you want to import already exist in a shared configuration, are
not checked out by you, and appear in the import file, they are not imported.
If the objects:
- Were not in your workspace before import, they are not added to the
workspace.
- Were in your workspace before import, they are unchanged.
* Resources that do not already exist are imported into your workspace and are
marked with the New icon. You must check these in if you want to save them in
the shared configuration. The imported workspace might refer to resources that
cannot be found in the Configuration Manager you are currently connected to.
You can safely remove these resources if you do not want them created in this
Configuration Manager. |
_________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kwelch |
Posted: Mon May 17, 2004 6:58 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Thanks Jeff! We were reading that too! I guess at times we would be promoting unwanted subflow changes.
* For Message Flows with Replace resources in configuration manager if not
locked selected: We do select the box
and we do fall into the following category:
If the object you want to import already exists in a shared configuration and
it is not checked out to another user:
- The object is imported.
- If it is not already in your workspace, it is added to the workspace.
- It appears in the appropriate view
- It is marked by the New icon.
When I have time I am going to try to test this out.
Karen |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon May 17, 2004 6:59 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
kwelch wrote: |
I guess at times we would be promoting unwanted subflow changes. |
This is where the filtermsgflows support pack comes in handy. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kirani |
Posted: Mon May 17, 2004 11:00 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
We always use supportPAc IC01 to version control our message flows. In your scenario it will allow you to go with any combination of FlowA and SubFlowX version number. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|