camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: jmx- annotated RouteBuilder not showing up in JConsole
Date Wed, 10 Dec 2014 15:48:12 GMT

It needs to extends ServiceSupport and depending on how its created,
you may need to manually add it to camel context, using addService so
Camel can register it as a service and in jmx

On Wed, Dec 10, 2014 at 4:41 PM, dermoritz <> wrote:
> I tried to annotate a RouteBuilder with @ManagedResource and a method from it
> with @ManagedOperation but i can't find it in JConsole. The other classes
> including my annotated custom endpoint is showing up fine.
> I am not sure if these annotations work with all kinds of classes within
> camel?! In my case the annotated RouteBuilder is some kind of central
> control class. Is does not contain a route but is loading several other
> RouteBuilders. It also adds global (context scope) exception handlers and
> adds a RoutePolicyFactory that centrally handles start up and control logic.
> The methods i want to make available via JMX re method that start/stop
> certain groups of routes.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message