In Camel 2.12 you can do like this now
http://www.davsclaus.com/2013/08/apache-camel-212-even-easier-cron.html

On Thu, Sep 26, 2013 at 7:15 AM, Nikos <[email protected]> wrote:
> Hi,
>
> Finally I have used the CronScheduledRoutePolicy from camel-quartz to
> schedule my route for a specific time frame.
>
> startPolicy.setRouteStartTime("0 0/5 * * * ?");
> startPolicy.setRouteStopTime("59 0/5 * * * ?");
>
> If there is a more elegant approach please let me know.
>
> thanks
>
>
>
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/FTP-and-Quartz-tp398861p5717877.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to