On 20/01/2015 18:34, Nicola Baiocco wrote:

Hi all,

I would like to know what are the real differences between ONE_PHASE and TWO_PHASES operations (create, update,delete,etc…).

In detail I’ve looked through update function of ConnectorFacadeProxy class and I’ve not understood which are differences.

It seems in every case it calls in async mode, is it right?


Hi Nicola,
as you can rad from [1], ONE_PHASE means that propagation is an atomic operation: Syncope calls the external resource and expects an immediate result. Conversely, TWO_PHASES means that Syncope calls the external resource and returns immediately. Later, when the propagation has completed, the external resource will notify the actual propagation result to Syncope.

Hope this clarifies.
Regards.

[1] https://cwiki.apache.org/confluence/display/SYNCOPE/Propagation

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/

Reply via email to