camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Suspending/resuming routes via a policy not reflected in JMX
Date Tue, 10 Jul 2012 06:18:49 GMT
On Mon, Jul 9, 2012 at 11:27 PM, mattg <> wrote:
> We're using Camel 2.9.2.
> I'm using the 'state' attribute and the 'getState()' operation on the route
> list under routes for the org.apache.camel mbean via JConsole.
> If I'm using JMX via Java I can query for all routes using '.. = new
> ObjectName("org.apache.camel:type=routes,*")' and then check the state
> attribute.
> If I suspend the route using jconsole and the suspend() operation the state
> immediately changes to 'suspended'.
> However if the route is suspended via RoutePolicySupport.stopConsumer the
> state is isn't updated to 'suspended' and stays at 'started'.

Yeah that sounds like an issue, could you log a JIRA.
An unit test reproducing the issue is much appreciated.

> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message