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

      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: