Try OpenEdge Now
skip to main content
Administration
Command and Utility Reference : ADAPTMAN
 

ADAPTMAN

Starts, stops, queries, and kills an existing OpenEdge Adapter for SonicMQ BrokerConnect broker or manipulates brokers on other machines by specifying name of the machine and the port the AdminServer is running on.

Syntax

Operating system
Syntax
UNIX
Windows
adaptman {
{ -name adapter-broker
{ -kill | -start | -stop | -query | -listallprops }
[ -host host-name -user user-name | -user user-name]
[ -port port-number]
}| -help }
-name adapter-broker
Name of the SonicMQ Broker for BrokerConnect (required). -i is also valid.
-kill
Causes emergency shutdown of the SonicMQ Broker for BrokerConnect. -k is also valid.
-start
Starts the named SonicMQ Broker for BrokerConnect. -x is also valid.
-stop
Stops the SonicMQ Broker for BrokerConnect. -e is also valid.
-query
Queries the named SonicMQ Broker for BrokerConnect. -q is also valid.
-listallprops
Displays all active broker properties, including updated values for dynamic properties that have changed.
-host host-name
Host name where the AdminServer is running.
-user user-name
User name. -u is also valid.
-port port-number
Port number of the running AdminServer.
-help
Displays command-line help. -h is also valid.

Notes

Enter the -i or the -name parameter followed by the name of the SonicMQ Broker for BrokerConnect and then the command to start, stop, query, or kill a broker.

Example

The following table shows several examples that use the adaptman command to start an instance called SonicMQ1.
Table 96. ADAPTMAN command examples
Task
Command
Start an instance called SonicMQ1
adaptman -i sonicMQ1 -start
Query the instance for its status
adaptman -i sonicMQ1 -query
Stop an instance
adaptman -name sonicMQ1 -stop
Get status of an instance on the machine whose AdminServer is on port 12935
adaptman -host xxxxxx -port 12935 -i
sonicMQ1 -q
Kill an instance
adaptman -i sonicMQ1 -kill