Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17728

Camel-quartz: It is not possible to use "startDelayedSeconds" property as is in the documentation

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.15.0
    • 3.16.0
    • camel-quartz
    • None
    • Unknown

    Description

      According to the documentation  it should be possible to set property `startDelayedSeconds` into Quartz component.

       If I use:

      <bean id="quartz" class="org.apache.camel.component.quartz.QuartzComponent">
      <property name="scheduler" ref="scheduler"/>
      <property name="startDelayedSeconds" value="50"/>
      </bean>
      

      I'm getting:

      Caused by: org.apache.camel.PropertyBindingException: Error binding property (camel.component.quartzDelayed.startDelayedSeconds=60) with name: startDelayedSeconds on bean: org.apache.camel.component.quartz.QuartzComponent@661e1399 with value: 60
          at org.apache.camel.main.MainHelper.setPropertiesOnTarget(MainHelper.java:326)
      ... 

       

      Property should work or should be removed from the doc.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            jondruse Jiri Ondrusek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: