-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: camel-quartz2
-
Labels:None
-
Estimated Complexity:Unknown
Here is a stackoverflow question which shows when the clustered quartz wants to recovery the job, camel throw the java.lang.IllegalArgumentException:
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)
We should avoid the checking of ensureNoDupTriggerKey, if the recoverableJob is true.