Hi All
I am a new user and would like to say "Hello" to all .

I am trying to use the $esc.xml in a velocity template. The velocity
component is invoked part of a camel route deployed in ServiceMix.  

I am using $esc.xml for only one tag as
<addressLine1>$esc.xml($headers.addrLine1))</addressLine1>, where the
addrLine1 is a value set in the Message header.  But the content is neither
escaped, nor the $esc.xml is recognized as a tool.  
The output comes as
<addressLine1>$esc.xml($headers.addrLine1)</addressLine1> where as other
tags values are populated correctly.

Please let me know how to use the escape tool with camel-velocity.

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-tp5505668p5505668.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to