ActiveMQ的使用

mac2024-03-16  15

ActiveMQ的使用

下载安装ActiveMQ,下载地址:http://activemq.apache.org/

安装环境:

需要jdk

安装Linux系统。生产环境都是Linux系统。

安装步骤

第一步: 把ActiveMQ 的压缩包上传到Linux系统。

第二步:解压缩。

第三步:启动。

使用bin目录下的activemq命令启动:

启动:[root@localhost bin]# ./activemq start

停止:[root@localhost bin]# ./activemq stop

查看状态:[root@localhost bin]# ./activemq status

注意:如果ActiveMQ整合spring使用不要使用activemq-all-5.12.0.jar包。建议使用5.11.2

进入管理后台:

http://IP:8161/admin

用户名:admin

密码:admin

最新回复(0)