On Wed, Jul 16, 2014 at 11:58 AM, dermoritz <[email protected]> wrote:
> Thanks for clarification.
>
>
> "But as its just JMX you could manually enlist it in JMX."
> Does this mean i can't use the provided annotations and do jmx completely
> manual? Or is there a way to use the annotations and do just the "enlist"
> manual?
>

Yes you can use Camel's ManagementAgent, and for example do that as
part of doStart in your custom producer.

public doStart() throws Exception
   getCamelContext().getManagementAgent().register(this, new
ObjectName("com.foo.WhateverMBeanName you want");



>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-to-expose-camel-producer-with-jmx-tp5753833p5753912.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to