Adding multiple instances of a message flow to a BAR file
Add more than one instance of a message flow to a BAR file and use configurable properties to customize each instance.
About this task
You can deploy multiple instances of the same message flow with different values for configurable properties. By using the same flow with different configurable property values, you can reuse a flow but customize each instance to your requirements. For example, you might use one flow with a particular value for an output queue, then add a second instance of the same flow and use a configurable property to set a different value for the output queue.
If you want to create multiple instances of a message flow to improve performance, see Optimizing message flow throughput.
Procedure
To deploy multiple instances of a message flow with different values for the configurable properties, complete the following steps:
- In the Application Development view, create a copy of the message flow of which you want to deploy multiple instances; see Copying a message flow or subflow by using copy.
- Add the original message flow and the copy of the message flow to your BAR file; see Adding resources to a BAR file.
-
Open the BAR file.
The resources in your BAR file are listed on the Manage tab.
-
On the Manage tab, you can now edit the configurable properties for both
message flows.
For more information, see Editing configurable properties in a BAR file.
Results
What to do next
Deploy the BAR file by following the instructions in Deploying integration solutions to a production environment. Both message flows are deployed and use the values for the configurable properties that you set in the BAR file.