Hi Hemika,

Loopback was introduced in ESB 4.8.0.

If you can explain the requirement, we'll able to help you.

On Fri, May 1, 2015 at 1:27 PM, Hemika Kodikara <hem...@wso2.com> wrote:

> 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
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Isuru Udana*
Associate Technical Lead
WSO2 Inc.; http://wso2.com
email: isu...@wso2.com cell: +94 77 3791887
blog: http://mytecheye.blogspot.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to