From version Fuse Message Broker 5.4.0 onwards, the activemq script incorporates the functionality of the activemq-admin script.
The new activemq script adds the following commands:
start—starts the broker in background. It saves process id in
${ACTIVEMQ_DATA_DIR}/activemq.pidfor future reference.console—starts the broker in foreground. It is the replacement for the old activemq script.
stop—stops the broker that is running in the background. It tries first to stop the broker using shutdown task. If that task doesn't return in 30 seconds, it kills the process.
restart—stops the running instance and starts a new one.
status—checks to see if a broker is running.
setup—create the specified configuration file for this script. The configuration of the script can be placed at
/etc/default/activemqor$HOME/.activemqrc.







