Hi Ray,

you can stop a route:

context.stopRoute("myQuartzRouteId") //context is the camel context

Of course you have to add a id to your route:
from("direct:foo")
.routeId("myQuartzRouteId")
.to("direct:bar");

Best regards - Claus

Am Dienstag, den 30.11.2010, 20:28 +0100 schrieb rxm0203 <rah_me...@yahoo.com>:
I am running Camel 2.4 under ServiceMix 4.2.0 version. All routes have been defined in camel-context.xml. I have few routes running on Quartz schedule. Is it possible to disable Quartz routes for testing purpose without making any changes in camel-context.xml or source code during run time? I want to
enable Quartz routes as soon as testing is over.

Thanks,

Ray

Reply via email to