Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
jboss-fuse-6.1
-
None
-
%
-
Description
When you select the Camel -> Source tab to view the source code for a route, the resulting XML includes the parameterized values for the <to> URI endpoints, but not for the <from> URI endpoints. For example, given the following route:
<camelContext xmlns="http://camel.apache.org/schema/blueprint"> <route> <from uri="timer:{{fromTimer}}"/> <setBody> <method ref="helloBean" method="hello" /> </setBody> <log message="The message contains ${body}" /> <to uri="mock:{{destination}}"/> </route> </camelContext>
The rendered source code is:
<route xmlns="http://camel.apache.org/schema/spring" id="route1"> <from uri="timer:{{fromTimer}}"/> <setBody> <method ref="helloBean" method="hello"/> </setBody> <log message="The message contains ${body}"/> <to uri="mock:end"/> </route>