From 0dc1157886283c275ae9ec1a31a1bb86ecddfa3c Mon Sep 17 00:00:00 2001 From: Sky Ao Date: Tue, 19 Dec 2023 21:22:56 +0800 Subject: [PATCH] only WorkflowActivity, no CompensatableWorkflowActivity Signed-off-by: Sky Ao --- 0011-S-Saga-pattern-support-in-dapr-workflow.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/0011-S-Saga-pattern-support-in-dapr-workflow.md b/0011-S-Saga-pattern-support-in-dapr-workflow.md index 030a133..514a7c8 100644 --- a/0011-S-Saga-pattern-support-in-dapr-workflow.md +++ b/0011-S-Saga-pattern-support-in-dapr-workflow.md @@ -546,10 +546,10 @@ The customer must write a corresponding compensation activity for each activity ```java public class ProcessPaymentActivity implements WorkflowActivity {......} -public class ProcessPaymentCompensationActivity implements CompensatableWorkflowActivity {......} +public class ProcessPaymentCompensationActivity implements WorkflowActivity {......} public class UpdateInventoryActivity implements WorkflowActivity {......} -public class UpdateInventoryCompensationActivity implements CompensatableWorkflowActivity {......} +public class UpdateInventoryCompensationActivity implements WorkflowActivity {......} ``` These compensation activities should also be registered like normal activities: