Hi Can you try using getRouteStatus from CamelContext.
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/CamelContext.html#getRouteStatus(java.lang.String) On Thu, Jan 2, 2014 at 8:39 PM, frida <stefanopu...@gmail.com> wrote: > Hi Claus, > > to get the route status I'm just checking route.getStatus() > > this.getCamelContext().suspendRoute(route.getId(), 5, TimeUnit.SECONDS); > //here I've also tried a brutal thread.sleep (7000); > log.info("route {} (status: {})", new Object[]{id, route.getStatus()}); > that turns in > INFO com.ste.controller.camel.CamelController - route route1 (status: > Started) > > and in my jsp: > <c:out value="${route.status}" /> ==> Started > <c:out value="${route.suspended}" /> ==> false > <c:out value="${route.suspending}" /> ==> false > > > Thanks! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/suspend-and-resume-routes-tp5745446p5745451.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io