Hi There is a getRouteStatus method http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/CamelContext.html#getRouteStatus(java.lang.String)
On Thu, Apr 25, 2013 at 10:48 AM, Jean Francois LE BESCONT <jflebesc...@gmail.com> wrote: > Hey Folks ! > > Just a little post to say that it sound tricky to detect if a route is > started or not, the only way I have found is to do : > > Route route = camelContext.getRoute(...); > boolean isRouteStarted = > ((org.apache.camel.support.ServiceSupport)route).isStarted(); > > Bye > > Jeff -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen