Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 812649581 for ; Mon, 25 Jun 2012 11:43:45 +0000 (UTC) Received: (qmail 66234 invoked by uid 500); 25 Jun 2012 11:43:45 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 66167 invoked by uid 500); 25 Jun 2012 11:43:44 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 66124 invoked by uid 99); 25 Jun 2012 11:43:42 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2012 11:43:42 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id B42E6141BDA for ; Mon, 25 Jun 2012 11:43:42 +0000 (UTC) Date: Mon, 25 Jun 2012 11:43:42 +0000 (UTC) From: "Mark Hillary (JIRA)" To: issues@camel.apache.org Message-ID: <1030654227.50677.1340624622741.JavaMail.jiratomcat@issues-vm> In-Reply-To: <2017348598.50154.1340607705335.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (CAMEL-5392) Optimize bean expression with local introspection cache to avoid re introspection when not needed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-5392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Hillary updated CAMEL-5392: -------------------------------- Attachment: bean-expression.diff Create the BeanHolder in the MethodCallExpression and pass to the BeanExpression so that it's only created once and not for each evaluation of the expression > 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.11 > > 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