You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/07/06 06:43:58 UTC

[GitHub] [camel-quarkus] lburgazzoli commented on issue #1459: @Handler on Bean does not resolve method

lburgazzoli commented on issue #1459:
URL: https://github.com/apache/camel-quarkus/issues/1459#issuecomment-654046132


   We need to make it working, I guess the issue is because the of the proxy generated by ArC.
   
   I think you can make it working by removing the CDI annotations and by binding the bean to the the context like with a static method on your route builder class:, something like:
   
   
   ```java
   @BindToRegistry
   public static Greeter greeterBean() {
       return new Greeter();
   }
   ```
   
   In the meantime we’ll investigate the issue with the `@Handler` annotation


----------------------------------------------------------------
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.

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