Ruwan

There is no point in doing the continue, because you can always follow
up the <send/> with a <drop/>.

As regards outSequence I don't agree with Sanjiva :-)

This seems so similar to the things we've done in Axis2 for
nonBlocking calls that I think its a useful addition. I'm +1 unless it
delays our 1.0.

Paul

On 3/8/07, Sanjiva Weerawarana <[EMAIL PROTECTED]> wrote:
Definitely an interesting idea but can we do this after we get user
feedback from a 1.0 release? This seems like a clear augmentation of
function- so if we in 1.0 send the first response and log the rest then
that's a start IMO.

Trying to apply principle of least power [1] and [2].

Sanjiva.
[1] http://www.w3.org/DesignIssues/Principles.html
[2] http://www.w3.org/2001/tag/doc/leastPower

Ruwan Linton wrote:
> 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 <http://www.wso2.org> - "Oxygenating the Web
> Services Platform"

--
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Director; Open Source Initiative; http://www.opensource.org/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to