Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
{snippet:id=timer|lang=xml|url=http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-components/src/test/resources/org/apache/servicemix/components/quartz/example.xml}

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:
    Code Block
    langxml
    
    <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.