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:

  1. 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.
  2. Add the original message flow and the copy of the message flow to your BAR file; see Adding resources to a BAR file.
  3. Open the BAR file.
    The resources in your BAR file are listed on the Manage tab.
  4. On the Manage tab, you can now edit the configurable properties for both message flows.

Results

Tip: The names that are assigned in the BAR file are also used on the command line when you run the mqsilist command on the integration server, or the mqsichangetrace command for a message flow.

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.