Dumping route to XML created by Java DSL using an expression with Transform EIP
may not output the actual used expression
-------------------------------------------------------------------------------------------------------------------------
Key: CAMEL-4733
URL: https://issues.apache.org/jira/browse/CAMEL-4733
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.8.2
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.8.4, 2.9.0
Given this route
{code}
from("direct:start").routeId("myRoute")
.transform(constant("Hello World"))
.to("mock:result");
{code}
Will be dumped as XML as:
{code:xml}
<route group="org.apache.camel.util.DumpModelAsXmlTransformRouteTest$1"
id="myRoute" xmlns="http://camel.apache.org/schema/spring">
<from uri="direct:start"/>
<transform id="transform1">
<expressionDefinition/>
</transform>
<to uri="mock:result" id="to1"/>
</route>
{code}
The <transform> is wrong as it should contain the expression definition
properly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira