[
https://issues.apache.org/jira/browse/CAMEL-8076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15352508#comment-15352508
]
Panneerselvam commented on CAMEL-8076:
--------------------------------------
Thanks, It worked.
> We should avoid checking the DupTriggerKey if the recoverableJob is true
> ------------------------------------------------------------------------
>
> Key: CAMEL-8076
> URL: https://issues.apache.org/jira/browse/CAMEL-8076
> Project: Camel
> Issue Type: Improvement
> Components: camel-quartz2
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 2.13.4, 2.14.1, 2.15.0
>
>
> Here is [a stackoverflow
> question|http://stackoverflow.com/questions/27031971/quartz-clustering-in-camel-spring-dsl]
> which shows when the clustered quartz wants to recovery the job, camel throw
> the java.lang.IllegalArgumentException:
> {code}
> Java.lang.IllegalArgumentException: Trigger key cluster.quartz is already in
> used by
> Endpoint[quartz2://cluster/quartz?cron=0+0%2F2+++*+%3F&durableJob=true&recoverableJob=true&stateful=true]
> at
> org.apache.camel.component.quartz2.QuartzEndpoint.ensureNoDupTriggerKey(QuartzEndpoint.java:272)
> {code}
> We should avoid the checking of ensureNoDupTriggerKey, if the recoverableJob
> is true.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)