Creating a broker archive

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

There are two ways of creating a bar file:

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. From the Broker Administration perspective, click File > New > Message Broker Archive.
  2. Enter the name of your server project, or select one from the displayed list.
  3. Enter a name for the bar file that you are creating.
  4. 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, using this as an example:
    mqsicreatebar -b barName -p projectNames -o filePath

    A file with a .bar extension is created.

    The -b (bar file name), and -o (path for included files) parameters must be specified. The -p (project names) parameter is optional. The mqsicreatebar topic gives more details.