camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-4293) @Bean method name is ignored
Date Wed, 03 Aug 2011 17:49:27 GMT

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

Claus Ibsen reassigned CAMEL-4293:
----------------------------------

    Assignee: Claus Ibsen

> @Bean method name is ignored
> ----------------------------
>
>                 Key: CAMEL-4293
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4293
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.0
>         Environment: Win7, Java 1.6_25, Eclipse Helios, m2Eclipse, maven 3.x
>            Reporter: Vincent MATHON
>            Assignee: Claus Ibsen
>         Attachments: camel-bug-2.8.0.zip
>
>
> Since 2.8.0 Exchange.BEAN_METHOD_NAME is always used instead of @Bean method name (see
BeanInfo.createInvocation(Object pojo, Exchange exchange)). As a consequence, the wrong method
is choosen when I use a beanref invokation on a method that uses @Bean 
> parameter binding.
> I built a simple test case as a zip file containing an Eclipse Helios maven project (see
attachment). The test fails with camel 2.8.0 and succeeds with 2.7.3 and earlier (at least
until 2.6.0).
> regards 
> Vincent MATHON

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message