Modifying a broker on Windows

Use the mqsichangebroker command on Windows® to modify your broker.

Windows platform To modify a broker on Windows:

  1. Stop the broker using the mqsistop command.
  2. Enter the mqsichangebroker command with the parameters that you want to change:
    mqsichangebroker brokername <<-i ServiceUserID> -a ServicePassword> 
    <-p DatabaseSourcePassword> <-s UserNameServerQueueManagerName> 
    <-j | -d> <-t | -n> <-l UserLilPath> <-g ConfigurationTimeout>
     <-k ConfigurationDelayTimeout> <-v StatisticsMajorInterval> <-P HttpPort>
    where:
    brokername
    Is the broker name.
    -i
    Is the service user ID that is used to run the broker.
    -a
    Is the password for the broker user ID.
    -p
    Is the password for the broker's database user ID.
    -s
    Is the WebSphere® MQ queue manger for the User Name Server
    -j
    Indicates that publish/subscribe access control is to be enabled for this broker.
    -d
    Indicates that publish/subscribe access control is not enabled for this broker.
    -t
    Indicates that the broker runs as a WebSphere MQ trusted application.
    -n
    Indicates that the broker must cease to run as a WebSphere MQ trusted application.
    -l
    Indicates from where LIL (loadable implementation libraries) files are loaded.
    -g
    Is the maximum time (in seconds) to allow a broker to process a deployed message.
    -k
    Is the maximum time (in seconds) to allow a broker to process a minimum size deployed message.
    -v
    Is the time (in minutes) for the duration of the interval for collecting statistics archive records.
    -P
    Is the port that the broker HTTP listener will use.

    Start of changeThe broker starts this listener when a message flow that includes HTTP nodes or Web Services support is startedEnd of change

    For example, to change the user ID that is used to run the broker, enter the following command at the command prompt:
    mqsichangebroker WBRK_BROKER -i wbrkuid -a wbrkpw
  3. Restart the broker using the mqsistart command. The broker restarts with the new properties. See the mqsichangebroker command for further information on these parameters.

If you cannot change a property using mqsichangebroker, delete the broker and then create a new one with the new properties.

Related concepts
Brokers
Broker domains
Related tasks
Starting and stopping a broker
Creating a broker
Deleting a broker
Related reference
mqsichangebroker command
mqsistart command
mqsistop command
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009. All Rights Reserved.
Last updated : 2009-01-07 15:40:05

ae12860_