You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Pat0675 <sc...@gmail.com> on 2016/03/01 11:46:04 UTC

Embedded Broker Monitoring

Hi,

in my application (its a standalone jar) I also start an embedded broker. I
can monitor this via the jmx console. So my question is now, is it possible
to launch anything programmatically to get access via the jolokia or the
hawtio interface? 
And can I monitor more than one broker per JVM?

Thanks,

best regards,
Patrick



--
View this message in context: http://activemq.2283324.n4.nabble.com/Embedded-Broker-Monitoring-tp4708633.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Embedded Broker Monitoring

Posted by Tim Bain <tb...@alumni.duke.edu>.
Oh, and you can do JMX monitoring of multiple brokers per JVM as long as
you configure unique ports.
On Mar 2, 2016 8:13 AM, "Tim Bain" <tb...@alumni.duke.edu> wrote:

> Those web interfaces are hosted in Jetty, so you'll need to embed it as
> well.  I've never done that, but there appear to be instructions here:
> http://www.eclipse.org/jetty/documentation/current/embedded-examples.html
> On Mar 1, 2016 9:38 AM, "Pat0675" <sc...@gmail.com> wrote:
>
>> Hi,
>>
>> in my application (its a standalone jar) I also start an embedded broker.
>> I
>> can monitor this via the jmx console. So my question is now, is it
>> possible
>> to launch anything programmatically to get access via the jolokia or the
>> hawtio interface?
>> And can I monitor more than one broker per JVM?
>>
>> Thanks,
>>
>> best regards,
>> Patrick
>>
>>
>>
>> --
>> View this message in context:
>> http://activemq.2283324.n4.nabble.com/Embedded-Broker-Monitoring-tp4708633.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>

Re: Embedded Broker Monitoring

Posted by Tim Bain <tb...@alumni.duke.edu>.
Those web interfaces are hosted in Jetty, so you'll need to embed it as
well.  I've never done that, but there appear to be instructions here:
http://www.eclipse.org/jetty/documentation/current/embedded-examples.html
On Mar 1, 2016 9:38 AM, "Pat0675" <sc...@gmail.com> wrote:

> Hi,
>
> in my application (its a standalone jar) I also start an embedded broker. I
> can monitor this via the jmx console. So my question is now, is it possible
> to launch anything programmatically to get access via the jolokia or the
> hawtio interface?
> And can I monitor more than one broker per JVM?
>
> Thanks,
>
> best regards,
> Patrick
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Embedded-Broker-Monitoring-tp4708633.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>