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

Can't manually trigger quartz2 jobs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.15.3, 2.16.0
    • camel-quartz2
    • None
    • Unknown

    Description

      Using org.quartz.Scheduler.triggerJob to manually trigger jobs will result in an exception like:

      2015-07-20 16:17:28,295 [amel-1_Worker-1] ERROR CamelJob - Failed to execute CamelJob.
      org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: quartz2://MyTimer?cron=05+00+00+%3F due to: Trigger key Camel.MyTimer is already in use by Endpoint[quartz2://MyTimer?cron=05+00+00+*+*+%3F]

      Problem is that CamelJob is having trouble with looking up the proper endpoint from a previously saved URI.

      Attachments

        Activity

          People

            janstey Jonathan Anstey
            janstey Jonathan Anstey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: