You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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, the factory will be used to create it.
  • No labels