You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Jian J Zhang <jz...@ca.ibm.com> on 2005/01/10 16:07:17 UTC

How Sandesha works?

Here I'd like to understand how Sandesha works.Your help is appreciated.

As far as I understand, Sandesha saves the request first in the 
persistence and then sends out the acknowledgement.
Then it invokes the web service (the application code).  The reliability 
is guaranteed because the message is saved and can
be resent to the web service if needed, just like messaging system.

Here is what I do not understand:

     Assume that the sandesha successfully saves the message into the 
database (database transaction is committed) and sends out the 
acknowledgement,
     while before it forwards the message to the web service, the server 
crashes. 

     Now we restart the server and AXIS plus Sandesha are ready to serve 
new requests.  But how about the saved request?
    AXIS  is only invoked when we have a HTTP/SOAP message. If  we do not 
get new request, then the message will never be reforwarded again?

    Thanks a lot.