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.
In all cases, any existing deployment descriptor in the BAR file is renamed to META-INF\broker.xml.old, replacing any existing file of that name.
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.
mqsiapplybaroverride -b myflow.bar -p mychanges.properties
For
an example of the details that are contained in a properties file, see Editing
configurable properties.