You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Tecno Brain <ce...@gmail.com> on 2013/12/10 23:41:45 UTC
Is there any way to enable JMXMP on ActiveMQ ?
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
Re: Is there any way to enable JMXMP on ActiveMQ ?
Posted by Christian Posta <ch...@gmail.com>.
Thanks for sharing. You may possibly be interested in Jolokia also
http://www.jolokia.org
Additionally, i should throw in, the RMI port can be set so it's not negotiated.
Cheers,
Christian
On Tue, Dec 10, 2013 at 6:23 PM, Tecno Brain
<ce...@gmail.com> wrote:
> 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
> <ce...@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
>>
>>
>>
>>
--
Christian Posta
http://www.christianposta.com/blog
twitter: @christianposta
Re: Is there any way to enable JMXMP on ActiveMQ ?
Posted by Tecno Brain <ce...@gmail.com>.
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
<ce...@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
>
>
>
>