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

Autowire quartz scheduler in quartz component

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.17.0
    • 3.19.0
    • camel-quartz
    • None
    • Moderate

    Description

      I suggest that the scheduler option is autowired for the quartz component.

      The instructions for the QUARKUS BASED configuration of the quartz-component seems to (implicitly) assume that it is:

      https://camel.apache.org/camel-quarkus/2.7.x/reference/extensions/quartz.html

      However, the documentation does not mark scheduler as being autowired so the quarkus based documentation is not correct as it leaves out the part required for wiring the quarkus provided scheduler with camel's quartz component.

      However, one could argue that the sceduler should be autowired in order to reduce the necessity for boilerplate code when there is clear candidate for autowiring.

       

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            jsiponen Joe Siponen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: