We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f57b49 commit 00fb46cCopy full SHA for 00fb46c
src/main/java/com/uber/cadence/samples/hello/HelloSaga.java
@@ -64,6 +64,10 @@ public void compensate(int amount) {
64
public interface SagaWorkflow {
65
/**
66
* Main saga workflow.
67
+ * Here we execute activity operation twice (first from a child workflow, second directly using
68
+ * activity stub), add three compensation functions, and then throws some exception in workflow code.
69
+ * When we catch the exception, saga.compensate will run the compensation functions according
70
+ * to the policy specified in SagaOptions.
71
*/
72
@WorkflowMethod
73
void execute();
0 commit comments