Home All Groups Group Topic Archive Search About

Atomic transactoions vs Compensation

Author
7 Aug 2006 3:31 PM
Ginny
Hi,

If we cannot implement atomic transactions we need to implement compensating
methods and processes ?? Why?? Does compensating here mean simple error
handling and a manual mechanism to roll back the state of a process?? I read
abt compensation in BizTalk, is it simialr ??

--
Regards
Ginny

Author
12 Aug 2006 9:46 AM
Joerg Jooss
Thus wrote Ginny,

> Hi,
>
> If we cannot implement atomic transactions we need to implement
> compensating methods and processes ?? Why??

To undo what has been done so far.

> Does compensating here
> mean simple error handling and a manual mechanism to roll back the
> state of a process?? I read abt compensation in BizTalk, is it simialr
> ??

Yes. Note that compensation has a lot more facets than a TX rollback. A sent
E-mail for example cannot be simply rolled back. You can try to recall the
message, or you can send another E-mail that tells the recipient to ignore
the original message.

Cheers,
--
Joerg Jooss
news-re***@joergjooss.de

AddThis Social Bookmark Button