Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8076

We should avoid checking the DupTriggerKey if the recoverableJob is true

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.13.4, 2.14.1, 2.15.0
    • Component/s: camel-quartz2
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              njiang Willem Jiang
              Reporter:
              njiang Willem Jiang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: