WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Versioning a subflow by setting the Version property of the subflow

To define the version of a subflow, you can set the value of the subflow Version property.

Before you begin

Set up the initial configuration. See Creating the initial configuration for the Error Handler sample.

About this task

When you set the Version property of the subflow, you can check the value at run time in the WebSphere® Message Broker Toolkit and in WebSphere Message Broker Explorer.

Procedure

You must complete the following steps in the WebSphere Message Broker Toolkit:

  1. Open the subflow in the Message Flow editor.
  2. Configure the Version property of the subflow.

Example

For example, in the Error Handler sample provided with WebSphere Message Broker, you can add and check the version of the subflow as follows:
  1. In the WebSphere Message Broker Toolkit, open the Error_Handler.subflow subflow in the Message Flow editor:

    In the Broker Development view, right-click the name of the subflow, and then select Open with > Message Flow editor.

  2. In the Error_Handler.subflow, configure the Version property of the subflow.
    This figure shows graphically how to set the Version of a subflow by setting the Version property of a subflow in the Message Flow editor.
  3. Create a BAR file that includes the Main_flow.msgflow.
    This figure shows you the options selected to create a BAR file that you can then use to deploy the sample in the run time.
  4. Deploy the message flow into a broker runtime environment. For more information, see Deploying a broker archive file.
  5. In the WebSphere Message Broker Explorer, double-click the message flow that includes the subflow. In our example, double-click Main_Flow. The Properties QuickView panel opens. In this panel, you can check the version of the subflow under Keywords.
    This figure displays the output of WebSphere Message Broker Explorer when you double-click the main flow name that is running in a broker.
  6. In the WebSphere Message Broker Explorer, double-click the subflow. In our example, double-click Error_Handler.subflow. The Properties QuickView panel opens. In this panel, you can check the version of the subflow under Keywords.
    This figure displays the output of WebSphere Message Broker Explorer when you double-click the subflow name that is running in a broker.

What to do next

After you set the version of a subflow, create a BAR file. For more information, see Creating a BAR file that includes a subflow created as a .subflow file or Creating a BAR file that includes a subflow created as a .msgflow file.