Hi 
you can use camel-timer or camel-quartz and controlbus

http://camel.apache.org/timer.html
http://camel.apache.org/quartz.html
http://camel.apache.org/controlbus-component.html

something like:
from("timer://foo?fixedRate=true&period=60000&repeatCount=1").
to("controlbus:route?routeId=foo&action=stop");

Bye



--
View this message in context: 
http://camel.465427.n5.nabble.com/Advice-how-to-shut-down-route-after-specified-time-tp5774672p5774681.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to