Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Information Provided
-
None
-
None
-
Unknown
Description
It seems Camel Quarkus is not able to pick up beans defined with:
@BindToRegistry
When defined outside a RouteBuilder.
However, if ported inside a RouteBuilder all seems good.
Developers may want to define Beans outside the RouteBuilder class, it makes sense Camel Quarkus finds them when starting up.
Find attached a reproduceable.
If started with:
./mvnw quarkus:dev
it will fail.
Then try uncommenting the "myProcessor" code inside the RouteBuilder in the file "routes.java"/
Camel Quarkus the starts and succeeds to execute.
Attachments
Attachments
Issue Links
- is related to
-
CAMEL-21215 camel-jbang: unreliable export to Quarkus without lazy binding
- Resolved
-
CAMEL-21138 camel-jbang - Export should use lazy beans
- Resolved