Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-722

Camel endpoints may not be called on quartz fire after some days of uptime

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.9.0-fuse-00-00
    • None
    • None
    • Fuse ESB 7.0.2 (Camel 2.9.0.fuse-70-097)
      Fuse ESB 7.1.0 (Camel 2.10.0.fuse-71-047)

      The quartz triggered route is running fine for some time and then it encountered following exception:

      org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: quartz://testTimer/TimerOne?cron=0+0%2F1+*+%3F due to: A Quartz job already exists with the name/group: TimerOne/testTimer
      at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:464)[108:org.apache.camel.camel-core:2.9.0.fuse-70-097]
      at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:477)[108:org.apache.camel.camel-core:2.9.0.fuse-70-097]
      at org.apache.camel.component.quartz.CamelJob.execute(CamelJob.java:50)[187:org.apache.camel.camel-quartz:2.9.0.fuse-70-097]
      at org.quartz.core.JobRunShell.run(JobRunShell.java:216)[188:org.apache.servicemix.bundles.quartz:1.8.5.2]
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)[188:org.apache.servicemix.bundles.quartz:1.8.5.2]
      Caused by: java.lang.IllegalArgumentException: A Quartz job already exists with the name/group: TimerOne/testTimer
      at org.apache.camel.component.quartz.QuartzComponent.createEndpoint(QuartzComponent.java:127)[187:org.apache.camel.camel-quartz:2.9.0.fuse-70-097]
      at org.apache.camel.component.quartz.QuartzComponent.createEndpoint(QuartzComponent.java:54)[187:org.apache.camel.camel-quartz:2.9.0.fuse-70-097]
      at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:91)[108:org.apache.camel.camel-core:2.9.0.fuse-70-097]
      at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:446)[108:org.apache.camel.camel-core:2.9.0.fuse-70-097]
      ... 4 more

      It was due to this known JIRA: https://issues.apache.org/jira/browse/CAMEL-5994

              cibsen@redhat.com Claus Ibsen
              rhn-support-qluo Joe Luo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: