Jiri Ondrusek created CAMEL-17728:
-------------------------------------

             Summary: Camel-quartz: It is not possible to use 
"startDelayedSeconds" property as is in the documentation
                 Key: CAMEL-17728
                 URL: https://issues.apache.org/jira/browse/CAMEL-17728
             Project: Camel
          Issue Type: Bug
          Components: camel-quartz
    Affects Versions: 3.16.0
            Reporter: Jiri Ondrusek


According to the 
[documentation|https://camel.apache.org/components/3.15.x/quartz-component.html#_starting_the_quartz_scheduler]
  it should be possible to set property `startDelayedSeconds` into Quartz 
component.

 If I use:
{code:xml}
<bean id="quartz" class="org.apache.camel.component.quartz.QuartzComponent">
<property name="scheduler" ref="scheduler"/>
<property name="startDelayedSeconds" value="50"/>
</bean>
{code}
I'm getting:
{code:java}
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)
... {code}
 

Property should work or should be removed from the doc.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to