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

                     <expressionDefinition>body</expressionDefinition>

And if you want to do the same route in XML you would need to use simple 
language to refer to the body.

<simple>body</simple>

So we should do the same in Java DSL, so its identical.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to