manovotn opened a new pull request, #8307:
URL: https://github.com/apache/camel-quarkus/pull/8307

   Originally reported as Quarkus issue 
(https://github.com/quarkusio/quarkus/issues/52629) along with a reproducer.
   
   If there are multiple scheduler implementations, Quarkus allows users to opt 
into using `CompositeScheduler` ([doc 
link](https://quarkus.io/guides/scheduler-reference#how-to-use-multiple-scheduler-implementations)).
   Side effect of this approach is that all other scheduler implementations are 
given an additional qualifier to prevent ambig. dependency resolutions in user 
code.
   `CamelQuartzRecorder` is using a dynamic lookup to find all implementations 
but presumes that they all have the `@Default` (implicitly present if no other 
qualifier is added) which will no longer hold true.
   The workaround is to explicitly add `@Any` qualifier which all CDI beans 
always have.
   
   Since I have verified this works with the original reproducer, I decided to 
put it into a PR as well.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to