Hi Niranjan,

Once you put a respond mediator, the message send back to client and
mediation should be stopped. So having mediators after respond will be not
executed. if you need to call the back end service agin, use call mediator
and finally call the respond where the message send back to client.

In Developer studio, It is a validation because no point of having mediator
after respond. But we do not have such a validation in proxy service UI.

Thanks,
Nuwanw

On Sat, Nov 5, 2016 at 3:34 PM, Niranjan Karunanandham <[email protected]>
wrote:

> Hi ESB,
>
> My requirement is to aggregate the data in the Out sequence and send it to
> a backend. The payload received from the backend needs to be send back to
> the client. I am able to do this using a proxy service in the UI. But when
> I try to do this using Developer Studio 3.8.0, I get the following error:
> *"Warning! Reason: Not allow to add mediators after a Respond Mediator"*
>
> Any why this is allowed via the UI, but not by Developer Studio?
>
> Regards,
> Nira
> --
>
>
> *Niranjan Karunanandham*
> Associate Technical Lead - WSO2 Inc.
> WSO2 Inc.: http://www.wso2.com
>
>


-- 
Nuwan Wimalasekara
Associate Technical Lead
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to