Search This Blog

Thursday, July 17, 2014

Connect JMX into ActiveMQ

this is how to connect JMX to ActiveMQ via VisualVM.

edit the activemq.xml in the conf folder.

search for the node managementContext

set the createConnector="true" and add  connectorPort="XXXX",
XXX is a port number.

e.g.
        <managementContext>
            <managementContext createConnector="true" connectorPort="1199"/>
        </managementContext>


open the VisualVM
add remote host if needed
add JMX connection


       

           
i liked to add the VisuaulVM Mbeans plugin - to send message to active mq

       


this how i can send messages into it


enjoy
Yaniv Tzanany


No comments: