Hi All,

Is there loopback mediator in ESB 4.7.0 ? I am trying to use the following
synapse in 4.7.0 which I copied from ESB 4.8.1.

<api xmlns="http://ws.apache.org/ns/synapse"; name="jsonTest"
context="/json">
   <resource methods="POST">
      <inSequence>
         <loopback/>
      </inSequence>
      <outSequence>
         <script language="js">var older = mc.getPayloadJSON();     var
newer=older;     mc.setPayloadJSON(newer);</script>
         <send/>
      </outSequence>
   </resource>
</api>

I get the following error :

org.apache.synapse.SynapseException: Unknown mediator referenced by
configuration element : {http://ws.apache.org/ns/synapse}loopback

Or is there a workaround ?

Regards,
Hemika

Hemika Kodikara
Software Engineer
WSO2 Inc.
lean . enterprise . middleware
http://wso2.com

Mobile : +94777688882
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to