You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jamesnetherton (via GitHub)" <gi...@apache.org> on 2025/09/08 07:25:59 UTC

[I] BindToRegistry does not work if the declaring class is a CDI bean [camel-quarkus]

jamesnetherton opened a new issue, #7712:
URL: https://github.com/apache/camel-quarkus/issues/7712

   This does not work:
   
   ```java
   @ApplicationScoped
   public class Foo {
       @BindToRegistry
       private MyBar bar = new MyBar();
   }
   ```
   
   The build time filtering logic I added to exclude `@BindToRegistry` target types that are already CDI beans, incorrectly matches on the declaring class and not the field target type.
   


-- 
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: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] BindToRegistry does not work if the declaring class is a CDI bean [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #7712: BindToRegistry does not work if the declaring class is a CDI bean
URL: https://github.com/apache/camel-quarkus/issues/7712


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org