There is no "replace" method in Simple language. I suggest to have a look at the other (more powerfull) supported scripting languages: http://camel.apache.org/scripting-languages.html
Best, Christian On Wed, Aug 8, 2012 at 5:22 PM, luiggi <luiggiandr...@hotmail.com> wrote: > i have a webservice > > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/ > " > xmlns:reg="http://registrocivil.gob.ec/"> > <soapenv:Header/> > <soapenv:Body> > <reg:busquedaPorCedula> > > <nCedula>1710362789</nCedula> > > <sUsuario>subsecinf1</sUsuario> > > <sContrasenia>eo2s</sContrasenia> > </reg:busquedaPorCedula> > </soapenv:Body> > </soapenv:Envelope> > > I wish in the service mix change the password, I want intercepted the > password > <sContrasenia>$UbInSeo2s</sContrasenia> > > I send the syntax and not work > > > <route streamCache="true"> > <from uri="jetty:{{urlServicioEnEsb.RegistroCivilService1}}"/> > <transform> > <simple>${in.body.replace("subsecinf1","c")}</simple> > </transform> > <to uri="routerRegistroCivilService1"/> > </route> > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/change-password-in-the-body-tp5716997.html > Sent from the Camel Development mailing list archive at Nabble.com. > --