[
https://issues.apache.org/jira/browse/CAMEL-6808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784966#comment-13784966
]
Claus Ibsen commented on CAMEL-6808:
------------------------------------
Thanks for the patch. I created an unit test to reproduce this, and indeed
there is a bug.
> BeanInfo prioritizes single non-annotated method over multiple methods with
> method annotations
> ----------------------------------------------------------------------------------------------
>
> Key: CAMEL-6808
> URL: https://issues.apache.org/jira/browse/CAMEL-6808
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.11.0, 2.12.0
> Reporter: Larry Han
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.11.3, 2.12.2, 2.13.0
>
> Attachments:
> CAMEL-6808__Fix_incorrect_behavior_in_BeanInfo_for_single_non-annotated_methods.patch
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> If a class has multiple methods annotated with custom camel annotations, and
> 1 non-annotated method, camel will invoke the non-annotated method instead of
> picking the correct custom annotated method.
--
This message was sent by Atlassian JIRA
(v6.1#6144)