Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>These are the steps for spring mediator in brief as Isuru explained above</p> <ol> <li><p>Create spring mediator library by extending AbstractMediator</p></li> <li><p>Copy into ESB_HOME/repository/components/lib</p></li> <li><p>Re-start the server</p></li> <li><p>Register springtest.xml file in the Registry (<a href="http://madhukaudantha.blogspot.com/2012/07/wso2-esb-proxy-from-registry.html" rel="nofollow">http://madhukaudantha.blogspot.com/2012/07/wso2-esb-proxy-from-registry.html</a> up to step 5 as Isuru explained)</p></li> <li><p>Then, create a Custom proxy with Spring Mediator.</p></li> </ol> <p>In there, add Bean as “springtest” (defined bean id for the mediator class within the xml file)</p> <p>Select the Key as where the configuration registry file stored according to the 4th step.</p> <p>Ex : If you have stored that springtest.xml file into path “_system/config/repository/”<br> Select Key as “/_system/config/repository/springtest.xml”</p> <p><strong>Note:</strong></p> <ul> <li><p>Verify in ESB_HOME/repository/components/dropins folder for OSGI bundle of the mediator of the created spring mediator library which is copied into ESB_HOME/repository/components/lib. If it is not there after restarting server, it may be a problem in created mediator library.</p></li> <li><p>As well as, put unique package name for the mediator class to avoid conflicts with other mediator class in ESB_HOME/repository/components/lib.</p></li> <li><p>Keep in mind to add unique bean id for the .xml file which is registered in the registry when you registered .xml file in 4th step.</p></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload