Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.14.0
-
None
-
Unknown
Description
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.