Joe Siponen created CAMEL-18143:
-----------------------------------
Summary: Autowire quartz scheduler in quartz component
Key: CAMEL-18143
URL: https://issues.apache.org/jira/browse/CAMEL-18143
Project: Camel
Issue Type: Improvement
Components: camel-quartz
Affects Versions: 3.17.0
Reporter: Joe Siponen
Fix For: Future
I suggest that the [scheduler
option|https://camel.apache.org/components/3.17.x/quartz-component.html#_component_options]
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.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)