ramnar,

i believe something like this should work:
http://camel.apache.org/message-translator.html

<camelContext xmlns="http://camel.apache.org/schema/spring";>
 <route>
   <from uri="direct:start"/>
   <transform>
     <simple>${in.body} extra data!</simple>
   </transform>
   <to uri="mock:end"/>
 </route>
</camelContext>

also, from what i've heard, the route models will have a much richer
semantic representation in camel 3.0 - so the java<->XML route translation
should be easier in the future.

~ Reuben

On Friday, March 23, 2012, ramnar <raam.s...@gmail.com> wrote:
> I have a very simple scenario where I have to append a text to the
message in a route.

Reply via email to