Atomic transactoions vs Compensation

  • Thread starter Thread starter Ginny
  • Start date Start date
G

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 ??
 
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,
 
Back
Top