Creating a broker archive

Create a separate broker archive (BAR) file for each configuration that you want to deploy to execution groups on brokers in your broker domain.

Using the Message Brokers Toolkit

Before you start:

Either create a server project, or ensure that one already exixts.

Follow these steps to create a BAR file using the workbench:

  1. Switch to the Broker Administration perspective.
  2. Click File > New > Message Broker Archive.
  3. Start of changeEnter the name of your server project or select one from the displayed list. The list is filtered to only show projects in the active working set.End of change
  4. Enter a name for the BAR file that you are creating.
  5. Click Finish.

A file with a .bar extension is created and is displayed in the Broker Administration Navigator view, under the Broker Archives folder. The Content editor for the BAR file opens.

Using the mqsicreatebar command

Follow these steps to create a BAR file using the mqsicreatebar command:

  1. Open a command window that is configured for your environment.
  2. Enter the command, typed on a single line. For example:
    mqsicreatebar -b barName -o filePath -p projectNames -cleanBuild
    You must specify the -b (BAR file name) and -o (path for included files) parameters. The -p (project names) parameter is optional. The mqsicreatebar topic gives more details.

    If external tools have been used to make changes to resources in the broker archive, add the -cleanBuild parameter to refresh all the projects and invoke a clean build.

    A file with a .bar extension is created.
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:21:51

af03870_