You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/02/05 14:06:30 UTC

[jira] Updated: (CAMEL-3606) Regression in stateful job support caused by duplicate job name check added in camel-quartz 2.6

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

Claus Ibsen updated CAMEL-3606:
-------------------------------

    Fix Version/s: 2.7.0

> Regression in stateful job support caused by duplicate job name check added in camel-quartz 2.6
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3606
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3606
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-quartz
>    Affects Versions: 2.6.0
>         Environment: Java 1.6.0_22
>            Reporter: Bryan Keller
>            Assignee: Tracy Snell
>             Fix For: 2.7.0
>
>
> A change in Camel 2.6 causes an exception to be thrown when using a stateful Quartz job in a non-clustered environment. Upon first startup, the job is persisted in the job store (e.g. database). If the app is restarted, it appears Camel is trying to recreate the persisted job and fails, thinking it is creating a duplicate schedule.
> e.g. Using an endpoint such as:
> {code}
> <endpoint id="pingSchedule" uri="quartz://myapp/ping?cron=${ping.cron}&amp;stateful=true" />
> {code}
> Configure the Quartz job store to NOT be clustered (org.quartz.jobStore.isClustered = false). Start the app. Then shut it down. Now start it up a second time. The following exception is thrown:
> {code}
> org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: quartz://myapp/ping?cron=0+0+23+*+*+%3F&stateful=true due to: A Quartz job already exists with the name/group: myapp/ping
> {code}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira