[ 
http://issues.apache.org/jira/browse/SANDESHA2-62?page=comments#action_12457400 
] 
            
Chamikara Jayalath commented on SANDESHA2-62:
---------------------------------------------

Hi Matt,

Interestingly Paul and I had some discussion on implementing support for sync 
2-way for the WSRM 1.0 spec. Since the name of the JIRA seems to be nicely 
mapping to this as well let me introduce some of the ideas we came up with.

Since there is no notion of MakeConnections in the WSRM 1.0 specification the 
idea is for the client to repeatedly send the request message until an intended 
response is received (using the MEP). The client will stop resending of the 
requst message only after it receive both the sequence acknowledgement and the 
application response message.

In the server side things will be normal as long as ordering is not enabled. 
But with ordering we have a slight problem. Since we currently pause the 
incoming request in the SandeshaInHandler there is no way to attach the 
application response to the HTTP response channel.

So the idea we have is to come up with a new ordering mechanism called 
Rejection Based ordering. Here the server will reject incoming request messages 
(by sending HTTP 408) as long as they are not comming in the order.Only the 
msgs in the correct order will be allowed to be invoked without pausing and the 
application response will be sent in the HTTP response channel.

Additionally for application messages we hope to wrap the Application message 
receiver with the Sandesha MR and make Sandesha MR deligate the incoming 
requests to the real MR. This gives us control after the invocation of the 
actual service and we will be able do to things like sending of 
acknowledgements. This is an additional feature we get when we use rejection 
based ordering.


Chamikara

> Implement sync 2-way WSRM
> -------------------------
>
>                 Key: SANDESHA2-62
>                 URL: http://issues.apache.org/jira/browse/SANDESHA2-62
>             Project: Apache Sandesha2
>          Issue Type: New Feature
>            Reporter: Matt Lovett
>         Assigned To: Matt Lovett
>         Attachments: 2-way.patch
>
>
> I intend to fill in some more of the MakeConnection logic, to enable sync 
> 2-way messaging with RM. The cornerstore is  a new test case that sets it up, 
> and then the follow on is some tweaking of the rest of the code so that it 
> does not veto the anonymous reply to.
> I'll attach patches in due course.
> Matt

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to