Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Pack provides two compensation modes 'forward' and 'reverse'. Users can choose which mode to use by configuring the retries property of @Compensable annotation
If retries == 0 then reverse otherwise forward, more detail [1].
This looks confusing, we need to define a clear attribute that represents the mode of compensation
I suggest adding a 'mode' attribute to the @Compensable annotation, which contains three options:
- forward
- reverse (default)
- combine (first forward then reverse)
Attachments
Issue Links
- Blocked
-
SCB-1698 Revert "SCB-1695 Add attribute mode to @Compensable annotation"
- Resolved
- links to