I was able to do it by adding these beans:

<bean class="org.springframework.jmx.support.ConnectorServerFactoryBean" />
<bean class="org.springframework.jmx.support.MBeanServerFactoryBean"/>

as shown in

http://theholyjava.wordpress.com/2010/09/16/exposing-a-pojo-as-a-jmx-mbean-easily-with-spring/

I also copied the jmxremote_optional.jar file to
${activemq.home}/lib/optional

That was enough to run jmxmp on port 9875 (the default)


On Tue, Dec 10, 2013 at 2:41 PM, Tecno Brain
<cerebrotecnolog...@gmail.com>wrote:

> Hi,
>    I am using ActiveMQ 5.7.0
>    I would like to use JMX using the JMXMP protocol. My environment would
> not allow me to use RMI, which uses a negotiated port.
>   How do I enable JMXMP on ActiveMQ ? Is it possible at all ?
>
>   I have downloaded the jmxremote_optional JAR file (version 1.0.1_04) and
> add it under the /lib/optional directory.
>   But I can't find any way to tell ActiveMQ that I want to use the JMXMP
> protocol for JMX access.
>
>
> -Jorge
>
>
>
>

Reply via email to