mqsiapplybaroverride command

Supported platforms

  • Windows
  • Linux (x86 platform)

Purpose

With the mqsiapplybaroverride command, you can replace configurable values in the broker archive (bar) deployment descriptor with new values that you specify in a properties file.

Write scripts to create broker archive files and apply different override values in the broker deployment descriptor archive file using the mqsiapplybaroverride command, together with the mqsicreatebar command.

Syntax

Parameters

-b BarFile
(Required) The path to the bar file (absolute, or relative to the executable command), to which the override values apply.
-p PropertiesFile
(Required) The path to the properties file (absolute, or relative to the executable command) that contains override values.

Authorization

On Windows, the user ID used to invoke this command must have Administrator authority on the local system. On Linux, your user ID must have write access to the -data (workspace) and -b (bar file location) directories.

Examples

This example opens the bar file myflow.bar and replaces configurable values in its deployment descriptor (typically broker.xml) with those specified in the properties file mychanges.properties.
mqsiapplybaroverride  -b myflow.bar -p mychanges.properties 
For an example of the details that are contained in a properties file, see Editing configurable properties.