The QuartzComponent integrates with the Quartz open source scheduler library. This allows to trigger service invocations at timed intervals to perform periodic tasks.
Here's an example of configuring a quartz component. You can add as many triggers as you wish to the component, at different timing intervals.
Error formatting macro: snippet: java.lang.NullPointerException
A number of properties can be configured on the component:
marshaler
: a class implementing the QuartzMarshaler interface which populates the JBI exchange. The default one will create something like:<timer> <name>My Example Job</name> <group>ServiceMix</group> <fullname>ServiceMix.My Example Job</fullname> <description/> <fireTime>Thu Oct 05 10:54:32 CEST 2006</fireTime> </timer>
scheduler
the Quartz scheduler to use. If not specified, thefactory
will be used to create it.
factory
the Quartz factory to use to create the scheduler. If not specified, a default factory will be created.