1、下载安装ActiveMQ服务提供者
http://activemq.apache.org/
2、启用ActiveMQ服务
cd [activemq_install_dir]
bin\activemq
3、验证服务
netstat -an|find "61616"
4、ActiveMQ的控制台查看
5、关闭ActiveMQ
"CTRL-C" in the console or command shell in which it is running
如果程序是在后台运行
ps -ef|grep activemq kill [PID] where [PID] is the process id of the ActiveMQ process.
原文:http://www.cnblogs.com/xuelu/p/3831911.html