WSO2 ESB is an open source Enterprise Service Bus that enables interoperability among various heterogeneous systems and business applications.
Wrapper Mediator is a custom WSO2 ESB mediator for wrapping payload content into desired element. Wrapper mediator takes all the child elements from payload and moves them under the new root element.
You have two options:
a) Add as a Maven/Gradle/Ivy dependency to your project. Get the dependency snippet from here.
b) Download it manually from here.
Copy the WrapperMediator-x.y.jar
to $WSO2_ESB_HOME/repository/components/dropins/
.
<wrapper wrapperName="{name of the wrapper element}"
nsPrefix="{Namespace prefix for wrapper element}"
nsUrl="{Namespace for wrapper element}"/>
All three attributes of the wrapper mediator are mandatory fields.
<wrapper wrapperName="rootElement"
nsPrefix="mys"
nsUrl="http://www.mystes.fi/ns"/>
- Oracle Java 6 & 7
- WSO2 ESB
- Wrapper Mediator has been tested with WSO2 ESB versions 4.5.1 & 4.8.1
- All above + Maven 3.0.X
Copyright © 2016 Mystes Oy. Licensed under the Apache 2.0 License.