Hi Producers are not enlisted in JMX - only endpoints and consumers. This is due to historical reasons, back then to not cause OOME by enlist too many mbeans.
Usually a producer used by a route gets enlisted "as part of a" send processor mbean under the processor folder. I think there is a ticket about enlisting producers in jmx too by default. On Tue, Jul 15, 2014 at 12:58 PM, dermoritz <[email protected]> wrote: > same as here: > http://stackoverflow.com/questions/24755796/how-to-expose-camel-producer-with-jmx > (if you want points ;-)) > > I read the documentation about camel jmx. In my case i want to expose some > attributes and operations of a Producer (made a custom component). There > seems to be no example for jmx on producers and all screenshots showing > jConsole i saw doesn't show a "folder" producers (while consumers and > endpoints are present). But i tried to annotate my producer class with > @ManagedResource, @ManagedAttribute and @ManagedOperation but it doesn't > work (or where to look in jconsole?) > > Some ducumentations mention an interface to be implemented "ManagementAware" > but this is deprecated. > > So how to expose producers with jmx? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-expose-camel-producer-with-jmx-tp5753833.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/
