You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (Jira)" <ji...@apache.org> on 2020/07/07 15:24:00 UTC

[jira] [Created] (CAMEL-15278) camel-bean: @Handler annotation does not work for proxied beans

Luca Burgazzoli created CAMEL-15278:
---------------------------------------

             Summary: camel-bean: @Handler annotation does not work for proxied beans
                 Key: CAMEL-15278
                 URL: https://issues.apache.org/jira/browse/CAMEL-15278
             Project: Camel
          Issue Type: Improvement
          Components: camel-bean
            Reporter: Luca Burgazzoli
             Fix For: 3.5.0


On some containers such as ArC, beans retrieved from the container are proxy for the actual bean and as the proxy does not preserve the annotations on methods, methods annotated with @Handler are not automatically selected.

We should probably walk the class hierarchy to see if there is a method annotated with @Handler

https://github.com/apache/camel-quarkus/issues/1459



--
This message was sent by Atlassian Jira
(v8.3.4#803005)