title: how to return response to caller in wso2 esb mediator
body: <p>I have one esb mediator, which handles request from esb proxy. When this mediator is configured in wso2 API, the response can be returned to caller. When this mediator is configured in wso2 proxy, the response cannot be returned to caller. </p>
  
  <p>Any one has suggestion? The configuration looks like following:</p>
  
  <pre><code>&lt;proxy xmlns="http://ws.apache.org/ns/synapse"
         name="abc"
         transports="http"
         startOnLoad="true"
         trace="enable"
         statistics="enable"&gt;
     &lt;description/&gt;
     &lt;target&gt;
        &lt;inSequence&gt;
           &lt;log level="full"/&gt;
           &lt;property name="address"
                   scope="transport"
                    expression="fn:substring-after(get-property('To'),'/services/abc')"/&gt;
  
           &lt;class name="com.abc.mediator.PatronInfoMediator"&gt;
            &lt;property name="pmServerAddress" value="http://192.168.112.243:3509/MobileConnectService"&gt;&lt;/property&gt;
            &lt;property name="property" value="M"/&gt;
            &lt;property name="languageCode" value="en-US"&gt;&lt;/property&gt;
            &lt;/class&gt;
        &lt;/inSequence&gt;
        &lt;outSequence&gt;
           &lt;send/&gt;
        &lt;/outSequence&gt;
     &lt;/target&gt;
  &lt;/proxy&gt;
  </code></pre>