Hi Try upgrading the Camel version as there was a bug in older release in terms of outputting as XML with expressions.
On Fri, Mar 23, 2012 at 12:25 PM, ramnar <raam.s...@gmail.com> wrote: > Hi Folks > I have a very simple scenario where I have to append a text to the message > in a route. > > Iam using the following code > new RouteDefinition().transform().simple("${in.body} appendedtext"); > > I wanted to generate the spring xml counter part of the above code.My jaxb > model generates the following xml > <camel:transform> > <camel:expressionDefinition/> > </camel:transform> > > which is incorrect.Can anyone guide me where Iam wrong > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Message-Transformation-issue-tp5589180p5589180.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/