Hello.
I am having trouble trying to do a replaceAll, using Camel from xml for a
Spring route.
I am trying to replace a namespace declaration
for example:
from
*old="oldNamespace"*
to
*new="newNamespace"*

Currently using this code, but it's now working properly:
/<camel:transform>
        <camel:simple>${body.replaceAll("old=&.quot;oldNamespace&.quot;",
"new=&.quot;newNamespace&.quot;")}</camel:simple> (without the dots)
</camel:transform>/

Currently using Camel version 2.16.0

Is there any approach to solve this?
Thanks in advance 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Special-characters-in-String-replacement-using-camel-simple-tp5776156.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to