Did you something like exchange.getIn().setHeader("esc", org.apache.velocity.tools.generic.EscapeTool.class);
Than you have to use: $headers.esc.xml($headers.addrLine1) Works for us with a custom formatter tool... Best, Christian On Thu, Feb 23, 2012 at 3:49 PM, ramesri <ramesh.sridha...@ihg.com> wrote: > Hi Claus > > Please help me out. I am stuck with this and couldnot proceed. > > Thanks > Ramesh > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-use-escape-tool-esc-xml-somestrwithspclchars-in-camel-velocity-template-tp5505668p5508249.html > Sent from the Camel - Users mailing list archive at Nabble.com. >