Friday, June 26, 2015

WSO2 ESB - How to put the current thread into sleep in proxy?

You can add the following script mediator in your proxy to sleep the current thread.
    <script language="js">java.lang.Thread.sleep(10000);</script>

No comments:

Post a Comment