Message flow application deployment

Package all of the resources in your message flow into a broker archive (BAR) file, for deployment.

You cannot deploy a message flow application directly to an execution group. Instead, you package all of the relevant resources into a BAR file, which you then deploy. When you add files to the broker archive, they are automatically compiled as part of the process.

The broker archive file is a compressed file, which is sent to the Configuration Manager, where its contents are extracted and distributed to execution groups. If an execution group has not been initialized on the broker (that is, if the broker has only just been created), the execution group is created as part of the deployment.

This diagram shows the flow of events when you deploy a message flow application:
This diagram illustrates the flow of events when you deploy a message flow application: creating a broker archive and adding files to it; deploying the BAR file by sending it to the Configuration Manager from where it its contents are distributed to execution groups on brokers within the domain.
You can deploy a BAR file in two ways:

Incremental BAR file deployment

Incrementally deploying a BAR file tells the Configuration Manager to extract the contents of the BAR file and to send those contents to an execution group. The following conditions are applied when a file is deployed to the BAR file:
  • If a file in the BAR file has the same name as an object that is already deployed to the execution group, the version that is already deployed is replaced with the version in the BAR file.
  • If a file in the BAR file is of zero length, and a file of that name has already been deployed to the execution group, the deployed file is removed from the execution group.
When to use
  • To incrementally deploy message flows or other deployable objects to an execution group.
When not to use
  • To completely clear the contents of the execution group before the BAR file is deployed. Instead use a complete BAR file deployment.

Complete BAR file deployment

Completely deploying a BAR file tells the Configuration Manager to extract the deployable content of the BAR file and to send the contents to an execution group, first removing any existing deployed contents of the execution group.

When to use
  • To deploy message flows or other deployable objects to an execution group.
When not to use
  • To merge the existing contents of the execution group with the contents of the BAR file. Instead use an incremental BAR file deployment.
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009. All Rights Reserved.
Last updated : 2009-01-07 15:40:22

af02070_