Mediation Library ( New in version 4.5 ) is a mechanism to group Templates Templates and automatically expose it as a self contained set of function modules. It can be considered as a container consisting a set of templates grouped in a particular order. Currently a mediation library is shipped as a ".zip" file and should be deployed inside {$WSO2ESB_HOME}/repository/deployment/server/synapse-libs . If a given template container is successfully deployed, all templates within the library will be accessible to any user.
Following is a sample skeleton structure of a mediation library.
...
Following are these components at an overview.
...
Code Block | ||
---|---|---|
| ||
<call-template target="mediation.lib.package.name.template.name"> <with-param name="..." value="..."/>* </call-template> |
WSO2 ESB allows add , delete , import mediation libraries and delete imports .