WebSphere Message Brokers
File: ae12810_
Writer: Bill Oppenheimer Task topic This build: July 31, 2007 21:27:31
Modifying a broker on Linux and UNIX systems
To modify a broker on Linux and UNIX systems:
Stop the broker using the mqsistop command.
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 to be disabled for this broker.
-t
Indicates that the broker runs as a WebSphere MQ trusted
application.
-n
Indicates that the broker should 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.
For example, to change the user ID that is used to run the
broker, enter the following command at the command prompt:
mqsichangebrokerWBRK_BROKER -i wbrkuid -a wbrkpw
Restart the broker using the mqsistart command.
The broker restarts with the new properties.
If you cannot change a property using mqsichangebroker, delete the broker
and then create a new one with the new properties.