With camel Quartz2 multiple jobs are not running when configured in different xml files with different route id and camel-context id.

Solution Unverified - Updated -

Issue

  • We are trying to use two quartz cron jobs in same blueprint file with different camel context but that seems not working the first one is working fine but the second cron job is throwing error.
  • Here is the scenario
    • Two cron jobs , one is working but the second one is throwing error
    • Only have one cron job , working fine.
  • Logs received
WARN  | nsation_Worker-1 | CamelJob                         | 1723 - org.apache.camel.camel-quartz2 - 2.12.0.redhat-610379 | Cannot find existing QuartzEndpoint with uri: quartz2://report1?cron=0+0%2F4+*+*+*+%3F. Creating new endpoint instance.

Environment

  • Red Hat JBoss Fuse
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.