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 39E011050E for ; Mon, 1 Dec 2014 10:01:13 +0000 (UTC) Received: (qmail 84580 invoked by uid 500); 1 Dec 2014 10:01:12 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 84546 invoked by uid 500); 1 Dec 2014 10:01:12 -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 84535 invoked by uid 99); 1 Dec 2014 10:01:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2014 10:01:12 +0000 Date: Mon, 1 Dec 2014 10:01:12 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CAMEL-8098) Route model using body expression should be representable in the xml model MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Claus Ibsen created CAMEL-8098: ---------------------------------- Summary: Route model using body expression should be representable in the xml model Key: CAMEL-8098 URL: https://issues.apache.org/jira/browse/CAMEL-8098 Project: Camel Issue Type: Improvement Components: camel-core Affects Versions: 2.14.0 Reporter: Claus Ibsen Assignee: Claus Ibsen Priority: Minor Fix For: 2.14.1, 2.15.0 When defining routes using Java DSL its common to use the body() as an expression with the splitter split().body() or split(body()) But that is internally mapped using an anonymous expression type. This cannot be mapped nicely in XML body And if you want to do the same route in XML you would need to use simple language to refer to the body. body So we should do the same in Java DSL, so its identical. -- This message was sent by Atlassian JIRA (v6.3.4#6332)