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

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

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

Guillaume Nodet resolved CAMEL-15278.
-------------------------------------
    Resolution: Fixed

> 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
>            Assignee: Guillaume Nodet
>            Priority: Major
>             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)