1.activemq版本信息

activemq:apache-activemq-5.18.4

2.Windows下activemq开启jmx

1.进入activemq conf目录,备份activemq.xml文件

Windows下activemq开启jmx_xml文件

2.编辑activemq.xml文件,在broker节点增加useJmx="true"

<broker xmlns="http://activemq.apache.org/schema/core" brokerName="activemq1" dataDirectory="${activemq.data}" useJmx="true">
  • 1.

3.编辑activemq.xml文件,managementContext配置端口

<managementContext>
            <managementContext createConnector="true" connectorPort="8899"/>
        </managementContext>
  • 1.
  • 2.
  • 3.

4.保存activemq.xml文件

5.配置IP地址和主机名映射

Windows下activemq开启jmx_activemq_02

6.启动activemq

Windows下activemq开启jmx_apache_03

7.验证

-->端口验证

Windows下activemq开启jmx_apache_04

-->jconsole连接验证

Windows下activemq开启jmx_apache_05

Windows下activemq开启jmx_版本信息_06

 

Windows下activemq开启jmx_版本信息_07