ActiveMQ安装

1.下载ActiveMQ

去官方网站下载:http://activemq.apache.org/

2.运行ActiveMQ

解压缩apache-activemq-5.5.1-bin.zip,

修改配置文件activeMQ.xml,将0.0.0.0修改为localhost

<transportConnectors>      
	<transportConnector name="openwire" uri="tcp://localhost:61616"/>     
	<transportConnector name="ssl" uri="ssl://localhost:61617"/>      
	<transportConnector name="stomp"   uri="stomp://localhost:61613"/>     
	<transportConnector uri="http://localhost:8081"/>     
	<transportConnector  uri="udp://localhost:61618"/>
<transportConnectors>   

然后双击apache-activemq-5.5.1inactivemq.bat运行ActiveMQ程序。

启动ActiveMQ以后,登陆:http://localhost:8161/admin/,创建一个Queue,命名为FirstQueue。

原文地址:https://www.cnblogs.com/starzy/p/14445260.html