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

Mark Hillary commented on CAMEL-5392:
-------------------------------------

Great, thanks for applying the patch. 

I considered making the BeanHolder volatile but decided I didn't know enough 
about internals of Camel to decided if it was safe or not.
                
> Optimize bean expression with local introspection cache to avoid re 
> introspection when not needed
> -------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5392
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5392
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.9.3, 2.10.0
>
>         Attachments: bean-expression.diff
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Bean-Expression-Performance-tp5715003.html
> A bean expression is dynamic evaluated on each exchange. But the bean type 
> and method may match previous evaluation, and therefore the introspection can 
> be locally cached to avoid re introspection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to