Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 13876 invoked from network); 21 May 2010 07:01:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 May 2010 07:01:12 -0000 Received: (qmail 56745 invoked by uid 500); 21 May 2010 07:01:12 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 56671 invoked by uid 500); 21 May 2010 07:01:12 -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 56436 invoked by uid 500); 21 May 2010 07:01:11 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 56433 invoked by uid 99); 21 May 2010 07:01:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 May 2010 07:01:11 +0000 X-ASF-Spam-Status: No, hits=-1451.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 May 2010 07:01:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4L70os3009660 for ; Fri, 21 May 2010 07:00:50 GMT Message-ID: <10291085.621274425250519.JavaMail.jira@thor> Date: Fri, 21 May 2010 03:00:50 -0400 (EDT) From: "Willem Jiang (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Created: (CAMEL-2745) ExpressionDefinition toString print the expression and expression value at the same time MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c ExpressionDefinition toString print the expression and expression value at the same time ----------------------------------------------------------------------------------------- Key: CAMEL-2745 URL: https://issues.apache.org/activemq/browse/CAMEL-2745 Project: Apache Camel Issue Type: Bug Components: camel-core Affects Versions: 2.2.0, 2.1.0, 2.0.0 Reporter: Willem Jiang Assignee: Willem Jiang Priority: Minor Fix For: 2.4.0 When I running the test which need to call the ExpressionDefinition toString method, I found the expression is {code} simple{bodyAs(java.lang.String.class)bodyAs[java.lang.String]} {code} We need to avoid adding the expression when the ExpressionDefinition has the expression value. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.