Hi all,

It is often required to change the namespace of a message that passes
through synapse. There is no straightforward way to do so with synapse and
currently we have the expensive alternatives such as xslt. So, how about
adding a new mediator with this basic feature.?

Here is the syntax of the nsreplace mediator.

<nsreplace name="nsr_1">
    <ns source="www.foo.com" target="www.bar.com" targetprfix="sdf"/>*+*
</nsreplace>

WDYT?

Thanks.
-- 
Kasun Indrasiri
Senior Software Engineer,
WSO2 Inc. - "Lean . Enterprise . Middleware" - http://www.wso2.com/
Blog : http://kasunpanorama.blogspot.com/

Reply via email to