WebSphere Message Broker Version 8.0.0.5 Betriebssysteme: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

Sehen Sie sich die Informationen zur aktuellen Produktversion im IBM Integration Bus Version 9.0 an.

Technical solution: Creating a subflow as a .subflow file (Recommended)

To reuse common application logic in multiple integration solutions, you create a subflow as a .subflow file.

Subflows are resources that you can include in message flows. Message flows define the functionality provided by an application, a service, or a Message Broker project.

When you use subflows as part of your integration solution, you must complete the following steps before you create a subflow:
  1. You must verify that your subflow follows the design guidelines for a subflow created as a .subflow file. For more information, see Designing a subflow created as a .subflow file.
  2. You must choose whether to create the subflow within a library, an application, a service, or a Message Broker project.

    For new WebSphere Message Broker Version 8 developments, you create applications or services. You use libraries for sharing resources between applications and services. Message Broker projects are maintained for compatibility with earlier versions. For more information, see Developing message flows .

  3. You must decide which method to use to set the version of the subflow based on where do you plan to check its value at run time. For more information, see Versioning a subflow.
Note: WebSphere Message Broker releases earlier than version 8 only supported subflows created as a .msgflow file. However, if you plan to develop new integration solutions, you should create subflows created as .subflow files.
After you create your subflow and include it in a message flow, you must complete the following steps before deploying the message flow into a broker run time:
  1. You must choose how to package your integration solution resources into a BAR file. The BAR file contains your message flows and subflows. For more information, see Creating a BAR file that includes a subflow created as a .subflow file.
    Note: You are recommended to work with WebSphere Message Broker Version 8.0.0.1 or later.
    Note: Building a BAR file for an application or service with the build option Compile and in-line resources not selected is the recommended approach to packaging integration solutions in WebSphere Message Broker Version 8.0.0.1 and later versions.
  2. You must understand how WebSphere Message Broker handles threads at run time based on your subflow design, and how you configure the overall message flow BAR file deployment properties and the Input node deployment properties. For more information, see Configuring a message flow that includes subflows.

After your solution is running in a broker run time, you may need to update a version of a subflow. For more information, see Updating a subflow.