Skip to content

Commit 0dc1157

Browse files
committed
only WorkflowActivity, no CompensatableWorkflowActivity
Signed-off-by: Sky Ao <[email protected]>
1 parent 1ddf755 commit 0dc1157

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

0011-S-Saga-pattern-support-in-dapr-workflow.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,10 +546,10 @@ The customer must write a corresponding compensation activity for each activity
546546

547547
```java
548548
public class ProcessPaymentActivity implements WorkflowActivity {......}
549-
public class ProcessPaymentCompensationActivity implements CompensatableWorkflowActivity {......}
549+
public class ProcessPaymentCompensationActivity implements WorkflowActivity {......}
550550

551551
public class UpdateInventoryActivity implements WorkflowActivity {......}
552-
public class UpdateInventoryCompensationActivity implements CompensatableWorkflowActivity {......}
552+
public class UpdateInventoryCompensationActivity implements WorkflowActivity {......}
553553
```
554554

555555
These compensation activities should also be registered like normal activities:

0 commit comments

Comments
 (0)