Hi All,
my Camel context is making use of a watchdog to monitor the status of the
application. In case a flag is set I would like to stop the watchdog, I
cannot find a way to stop the route.
The watchdog have been implemented using camel-quartz:

from("quartz://watchdog/checkpendingexchanges?trigger.repeatInterval=10000&trigger.repeatCount="
+ SimpleTrigger.REPEAT_INDEFINITELY)
.routeId("watchdog")
.process(new Processor() {
    public void process(Exchange exchange) throws Exception {
       //here I would like to stop the watchdog processor if a given
condition is met
    }
}}).log(LoggingLevel.valueOf("TRACE"), "watchdog check completed");





--
View this message in context: 
http://camel.465427.n5.nabble.com/stop-a-quartz-route-tp5718779.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to