camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
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 <matthew.gleeson@fronde.com> 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: http://camel.465427.n5.nabble.com/Suspending-resuming-routes-via-a-policy-not-reflected-in-JMX-tp5715701p5715785.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message