The timer is based on the JDK timer which really cant do nothing else
than trigger every X interval.

I do think the JDK timer has a rather peculiar feature where you can
set a date when it should trigger the first time.
Read its javadoc.


If you need something like at specific times per day etc. you need
CRON like expressions such as supported by camel-quartz
http://camel.apache.org/quartz

Quartz can really do what you want and its much more power full than
the JDK timer.


On Mon, Nov 8, 2010 at 10:30 AM, S. Ali Tokmen
<savas-ali.tok...@bull.net> wrote:
> Hello
>
> I have a CAMEL route that I would like to have a route that executes
> everyday at 02:00 AM. If I have read the documentation correctly,
> http://camel.apache.org/timer.html indicates that:
>
>  1. pattern=HH:mm
>  2. time=02:00
>  3. period=24hours
>
> Is that correct?
>
> Cheers
>
> --
>
> S. Ali Tokmen
> savas-ali.tok...@bull.net
>
> Office: +33 4 76 29 76 19
> GSM:    +33 66 43 00 555
>
> Bull, Architect of an Open World TM
> http://www.bull.com
>
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to