You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/03/01 16:35:00 UTC

[jira] [Resolved] (CAMEL-17728) Camel-quartz: It is not possible to use "startDelayedSeconds" property as is in the documentation

     [ https://issues.apache.org/jira/browse/CAMEL-17728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-17728.
---------------------------------
    Resolution: Fixed

> 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: Task
>          Components: camel-quartz
>    Affects Versions: 3.15.0
>            Reporter: Jiri Ondrusek
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.16.0
>
>
> 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)