0 Replies Latest reply on Jun 5, 2012 12:20 PM by kcbabo

    Tooling for Schedule Binding

    kcbabo

      Schedule should be pretty easy (btw, let's call it "Schedule" and not Quartz).  It only applies to service bindings and here's the config model:

       

      <element name="name" type="string" />   (note : this can default to service name)

      <element name="cron" type="string" />

      <element name="trigger.startTime" type="dateTime" minOccurs="0" maxOccurs="1" />

      <element name="trigger.endTime" type="dateTime" minOccurs="0" maxOccurs="1" />

       

      Required: name, cron

      Optional: start time, end time

       

      Actual schema:

      https://github.com/jboss-switchyard/components/blob/master/camel/camel-core/src/main/resources/org/switchyard/component/camel/config/model/v1/camel-v1.xsd#L234

       

      An example of a service binding:

      https://github.com/jboss-switchyard/quickstarts/blob/master/camel-quartz-binding/src/main/resources/META-INF/switchyard.xml

       

      Camel Quartz docs:

      http://camel.apache.org/quartz.html