You can shut down a broker running in the default JMX context using the stop task, as follows:
activemq-admin stop broker1
![]() | Note |
|---|---|
The stop task requires JMX to be enabled, which it is by default. |
To shut down all the brokers running in the default JMX context
(service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi), type the
following:
activemq-admin stop --all