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

scheduled route policy should not start Quartz scheduler, but let QuartzComponent do that

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0
    • Component/s: camel-quartz
    • Labels:
      None

      Description

      The QuartzScheduler lifecycle is handled by QuartzComponent and we should let it startup the scheduler. The component does this best as it has logic to ensure all that the scheduler is only started after the entire CamelContext has been fully initialized and started. This is to ensure the scheduler do not trigger any action that may send in messages to Camel routes and whatnot too early (when CamelContext is not really ready).

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: