博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
win7下启动activeMQ服务
阅读量:4228 次
发布时间:2019-05-26

本文共 2492 字,大约阅读时间需要 8 分钟。

 

win7下启动activeMQ服务

我使用的是ActiveMQ 5.15.0(最低要求是jdk1.8)+jdk1.8
 

  1. What platforms does ActiveMQ Support?(对应jdk版本支持)

ActiveMQ 5.0-5.7 supports any Java platform of Java 5.0 or later. To run on 1.4 see these instructions. 

ActiveMQ 5.8-5.10 require Java 6 or higher and the releases from 5.11 onwards require Java 7 or later. 
ActiveMQ is based on J2EE 1.4 or later and so implements JMS 1.1 and a JCA 1.5 Resource Adaptor.
We regularly test ActiveMQ on Windows, OS X, Linux though we're aware of folks who use AIX and Solaris too.

  • 5.0-5.7 jdk1.5-jdk1.8
  • 5.8-5.10 jdk1.6-jdk1.8
  • 5.11 jdk1.7-jdk1.8

2.下载:http://activemq.apache.org/activemq-5150-release.html 
  
3.修改D:\software\apache-activemq-5.15.0\conf下的activemq.xml文件
  将解压后的activemq.xml中<transportConnectors>的uri修改为127.0.0.1
 <transportConnectors>
            <!-- DOS protection, limit concurrent connections to 1000 and frame size to 100MB -->
            <transportConnector name="openwire" uri="tcp://0.0.0.0:61616?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>
            <transportConnector name="amqp" uri="amqp://0.0.0.0:5672?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>
            <transportConnector name="stomp" uri="stomp://0.0.0.0:61613?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>
            <transportConnector name="mqtt" uri="mqtt://0.0.0.0:1883?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>
            <transportConnector name="ws" uri="ws://0.0.0.0:61614?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>
 </transportConnectors>
 <transportConnectors>
            <!-- DOS protection, limit concurrent connections to 1000 and frame size to 100MB -->
            <transportConnector name="openwire" uri="tcp://127.0.0.1:61616?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>
            <transportConnector name="amqp" uri="amqp://127.0.0.1:5672?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>
            <transportConnector name="stomp" uri="stomp://127.0.0.1:61613?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>
            <transportConnector name="mqtt" uri="mqtt://127.0.0.1:1883?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>
            <transportConnector name="ws" uri="ws://127.0.0.1:61614?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>
 </transportConnectors>
4.打开bin目录下的activemq.bat(以管理员身份启动)

  •   如果计算机名称含有下划线,启动activemq.bat会报错
  •   InstallService.bat这个是安装服务到Windows
  •   services.msc进入启动activeMQ服务

  

 

5.127.0.0.1:8161 进入管理界面,为什么端口号是8161,因为jetty.xml配置初始端口号就是8161

 

 

  •   点击Manage ActiveMQ broker
  •   登录账号和密码都是admin

 

  • 进入管理界面

 

你可能感兴趣的文章
CamelCase写法
查看>>
高效人士的七个习惯
查看>>
高效人士的七个习惯--每章概括
查看>>
移植U-Boot.1.3.1到S3C244和S3C2410
查看>>
移植u-boot-1.3.4到S3C2440
查看>>
硬件工程师基础知识
查看>>
结构体知识汇总
查看>>
软件开发管理工具
查看>>
初学配置管理
查看>>
了解端口
查看>>
关闭端口
查看>>
port reporter
查看>>
计算机每天开关机时间和开启系统日志
查看>>
VC解析XML--使用CMarkup类解析XML
查看>>
刘未鹏的深邃思考
查看>>
C/C++头文件一览
查看>>
vc中的CString的操作
查看>>
后门程序--示例
查看>>
window消息大全
查看>>
Visual C++ MFC 中常用宏的含义(转贴)
查看>>