camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sekaijin <jean-yves.terr...@aphp.fr>
Subject Re: Advice: how to shut down route after specified time
Date Fri, 04 Dec 2015 14:42:08 GMT
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.

Mime
View raw message