[ 
https://issues.apache.org/jira/browse/CAMEL-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011944#comment-13011944
 ] 

Claus Ibsen commented on CAMEL-3812:
------------------------------------

See nabble
http://camel.465427.n5.nabble.com/camel-ejb-problem-td4258807.html

> BeanInfo not reset when new bean looked up
> ------------------------------------------
>
>                 Key: CAMEL-3812
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3812
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.7.0
>            Reporter: Maximilien Wiktorowski
>             Fix For: 2.8.0
>
>
> In camel-bean, when a bean is looked-up and it is not the same bean as the 
> previous one beanInfo has to be reset.
> This is done in getBean() method of 
> org.apache.camel.component.bean.RegistryBean but the test is placed after 
> setting bean=value so beanInfo is never reset :
> if (value != bean) { 
>     bean = value; 
>     processor = null; 
>     if (!ObjectHelper.equal(ObjectHelper.type(bean), 
> ObjectHelper.type(value))) { 
>         beanInfo = null; 
>     }

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

Reply via email to