You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2024/09/13 13:29:00 UTC

[jira] [Updated] (CAMEL-21218) camel-quarkus - BindToRegistry seems NOT to work outside RouteBuilder

     [ https://issues.apache.org/jira/browse/CAMEL-21218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-21218:
--------------------------------
    Summary: camel-quarkus - BindToRegistry seems NOT to work outside RouteBuilder  (was: BindToRegistry seems NOT to work outside RouteBuilder)

> camel-quarkus - BindToRegistry seems NOT to work outside RouteBuilder
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-21218
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21218
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-quarkus
>            Reporter: Bruno Meseguer
>            Priority: Major
>         Attachments: report.tar.gz
>
>
> It seems Camel Quarkus is not able to pick up beans defined with:
> {code:java}
> @BindToRegistry{code}
> 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:
> {code:java}
> ./mvnw quarkus:dev{code}
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)