Quartz component available

Previous Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Quartz component available

jstrachan
Just a brief heads up for those not watching the commit logs :).
There's now a Quartz component for doing scheduled message delivery
(which can be persistent and work in a cluster)

http://cwiki.apache.org/CAMEL/quartz.html

You can easily create a timer using a URI.  Cron expressions are
supported too, so for example the following will fire a message at
12pm (noon) every day to an ActiveMQ Queue

from("quartz://myGroup/myTimerName/0/0/12/*/*/$").to("activemq:Totally.Rocks");

which means use the cron expression: 0 0 12 * * ?

--
James
-------
http://macstrac.blogspot.com/
Loading...