Hi, It is very easy to resolve the issue "Synapse Send mediator should not stop mediation" https://issues.apache.org/jira/browse/SYNAPSE-57 (just have to return true after send execution), but this will reveal in a serious issue if another send mediator is executed along in the path of in message mediation which will result in multiple responses for a given message.
One option is to send back the first response and drop all the other reponses. But I think, Synapse should give the opportunity of handling multiple responses, to the user who configures synapse to send multiple requests to different endpoints, without taking intelligent decision to send back only one and drop other messages. Currently, Synapse configuration does not allow this kind of a behaviour. So I propose the following configuration enhancement for the send mediator. <send outSequence="key"> ... </send> Also it is better if the user has some means of controlling this continue after send behaviour explicitly. So we can add one more attribute as "continue" which will be true or false depending on whether he/she wants to continue after send or not. So that the overall send mediator configuration will be as follows.. <send outSequence="key" continue=[true|false]> .... </send> Any comments.... Thanks, Ruwan. -- Ruwan Linton http://www.wso2.org - "Oxygenating the Web Services Platform"
