Hello Claus

Thank you for these informations. Since I was looking for a timer-like behaviour, I did not think of looking into Quartz.

I guess that component is the ideal for my use case.

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


On 08/11/2010 10:55, Claus Ibsen wrote:
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





Reply via email to