Thanks Eric for your input. Finally, I was able to resolve the problem by doing the following:
<bean id="veloctiyToolsHandler" class="com.ihg.sfdc.mdm.util.VelocityToolsHandler"/> and in the route: <setHeader headerName="esc"> <method ref="veloctiyToolsHandler" method="getVelocityEscapeTool"/> </setHeader> where getVelocityEscapeTool() returns an instance of EscapeTool. cheers ramesh -- View this message in context: http://camel.465427.n5.nabble.com/How-to-use-escape-tool-esc-xml-somestrwithspclchars-in-camel-velocity-template-tp5505668p5520087.html Sent from the Camel - Users mailing list archive at Nabble.com.