Start of change

mqsiapplybaroverride command

Purpose

The mqsiapplybaroverride command provides a command-line tool that replaces configurable values in the barfile with new values specified in a properties file.

Using the mqsiapplybaroverride command together with the mqsicreatebar command, you can write scripts to create broker archive files and can apply different override values in the broker archive file.

Syntax

Parameters

-b barFile
(Required) The path to the broker archive file to which the override values apply. The bar is replaced if it already exists and the META-INF/broker.xml file is created.
-p propertiesFile
(Required) The path to the Properties file containing the override values

Authorization

On Windows, the user ID used to invoke this command must have Administrator authority on the local system.

Examples

The following example assumes that you are working on Windows from the product installation Eclipse folder (the default location of the Eclipse folder on Windows is C:\Program Files\IBM\MessageBrokersToolkit\6.0\eclipse) and you have a workspace in the folder C:\Workspace:
mqsiapplybaroverride  -b myflow.bar -p propertiesFile  
Related concepts
Broker archive
End of change