Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 33404 invoked from network); 14 Mar 2010 15:48:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Mar 2010 15:48:56 -0000 Received: (qmail 32592 invoked by uid 500); 14 Mar 2010 15:48:13 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 32568 invoked by uid 500); 14 Mar 2010 15:48:13 -0000 Mailing-List: contact dev-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 dev@camel.apache.org Received: (qmail 32560 invoked by uid 500); 14 Mar 2010 15:48:13 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 32557 invoked by uid 99); 14 Mar 2010 15:48:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Mar 2010 15:48:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Mar 2010 15:48:11 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 24939234C052 for ; Sun, 14 Mar 2010 15:47:50 +0000 (UTC) Message-ID: <1541265445.13911268581670147.JavaMail.jira@brutus.apache.org> Date: Sun, 14 Mar 2010 15:47:50 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-2546) Simple language - Add lightweight OGNL to invoke methods on objects In-Reply-To: <42746562.13481268482064909.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58233#action_58233 ] Claus Ibsen commented on CAMEL-2546: ------------------------------------ Shorthand is now supported {code} simple("${body.address.street}") {code} trunk: 922880. > Simple language - Add lightweight OGNL to invoke methods on objects > ------------------------------------------------------------------- > > Key: CAMEL-2546 > URL: https://issues.apache.org/activemq/browse/CAMEL-2546 > Project: Apache Camel > Issue Type: New Feature > Components: camel-core > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.3.0 > > > Just a very lightweight alternative to using mvel, ognl etc. > For example if you need to invoke getName() on a User object stored in the body of a Camel Message. > {code} > simple("${body.getName}") > {code} > But we should support bean properties > {code} > simple("${body.name}") > {code} > And chained method calls > {code} > simple("${body.address.street}") > simple("${body.address.zip}") > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.