Long lasting activities are put into spawned processes. Spawned
processes share responses via Wait/Notify BW mechanism. Schema for
response is a choice of all results/errors from all called activities. First
wait can get response from any spawned process, the same if for
subsequent Wait calls.
How to make compensations for this kind of
process? Subprocess after failed notify should revert its actions, main
process does necessery waiting and responds to client with success or
error, when from first wait we get fatal error which should break other
subprocess call, we do not wait for other calls - they will be reverted.
czwartek, grudnia 13, 2012
Subskrybuj:
Komentarze do posta (Atom)
0 komentarze:
Prześlij komentarz