This topic contains sections marked as revised for this release

WebSphere Message Brokers
File: af03870_
Writer: John Morris-Smith

Task topic

This build: July 31, 2007 21:29:16

Creating a broker archive

Create a separate broker archive (bar) file for each configuration that you want to deploy.

Using the Message Broker 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. Enter the name of your server project or select one from the displayed list.
  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:
    mqsicreatebar -b barName -cleanBuild -p projectNames -o filePath

    A file with a .bar extension is created.

    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.

    Use the -cleanBuild parameter to refresh all the projects in the broker archive and invoke a clean build if amendments have been made to broker-archive resources using external tools.

Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:29:16

af03870_ This topic's URL is: