shutdown — Stops one or more running ActiveMQ broker.
shutdown
[[
-?
] | [
--help
] | [
-h
]] [
--all
] [
--jmxurl
jmxURL
] [
--version
] [
broker
...]
shutdown stops one or more running ActiveMQ brokers. When run without specifying a broker name, shutdown assumes that there is only one broker running in the default JMS context. If there is more than one, it will only stop one of them.
Important | |
---|---|
shutdown requires you to have JMX enabled for ActiveMQ. |
The arguments used to stop ActiveMQ brokers are reviewed in the following table.
Option | Interpretation |
---|---|
-?
--help
-h
|
Displays the online help for this utility. |
--all
|
Stops all brokers in the specified JMX context. |
--jmxurl jmxURL |
Specifies the JMX service URL to use when looking for brokers. The default is
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi |
--version
|
Displays the version number of your ActiveMQ installation. |
broker
|
Specifies the name of one, or more, broker to stop. |