activeMq下载版本 5.14支持jdk1.7 5.15支持jdkl1.8
http://archive.apache.org/dist/activemq/
将安装文件放到 /root下
cd /usr/local/
mkdir activemq
cd ~
cp apache-activemq-5.15.8-bin.tar.gz /usr/local/activemq/
cd /usr/local/activemq/
tar -zxvf apache-activemq-5.15.8-bin.tar.gz
修改conf activemq.xml中参数
增加 useJmx=”true”
false改成true
启动
cd apache-activemq-5.14.0
cd bin
./activemq start
查看状态
./activemq status
查看日志
./activemq console
查看端口
netstat -ano|grep 61616 active端口
netstat -ano|grep 1099 jmx 端口
http://127.0.0.1:8161/ 管理地址
127.0.0.1:8161/admin/queues.jsp 查看消息发送