After you start a JMS Adapter broker, manage the broker using the same tool that started it. The following tables list the options available in oemessaging and adaptman.

oemessaging options

oemessaging displays the administrative options in the proenv window while the broker is running. To run an option, enter its letter at the prompt and press ENTER.

The following table lists the options that oemessaging displays:
Option Description
S Display a summary of the JMS Adapter broker.
D Display server details.
X Add new agents.
T Trim free agents.
K Kill a server by its server ID.
E Stop and exit the broker gracefully.
A Abort the broker.
L Display a connection summary.
C Display connection details for one or more connection handles.
Y List JMS Adapter properties.
Z List a broker property value based on a property name.

adaptman options

adaptman provides the administrative command-line options for managing the JMS Adapter broker through AdminServer. To view all supported command-line options in your environment, run:
adaptman -help
The following table lists the options that adaptman displays:
Option Description
-help or -h Display command-line help.
-name or -i <Name> Specify the name of the broker instance. Required for all actions, except -help.
-all Perform the action on all broker instances.
-start or -x Start the named broker.
-stop or -e Stop the named broker.
-query or -q Query the status of the named broker.
-kill or -k Force-stop the named broker (emergency shutdown).
-listallprops List active property values of the named broker.
-user or -u <UserName> Specify the username for AdminServer authentication.
-host or -r <HostName> Specify the host name where AdminServer is running,
-port <PortNumber> Specify the port number of the running AdminServer.
The following examples show how to use adaptman options to perform common administrative tasks:
  • To query the broker status, run the following command:
    proenv>adaptman -i genericMQ1 -q
  • To stop the broker, run the following command:
    proenv>adaptman -i genericMQ1 -stop