From e1caacc8e00d1c3ac8a85aec08c5cbb3b32557e1 Mon Sep 17 00:00:00 2001 From: MatrixRonny <35771215+MatrixRonny@users.noreply.github.com> Date: Thu, 31 Oct 2019 14:31:36 +0200 Subject: [PATCH] Swapped examples. Swapped first example from "Saga transaction with compensation" with that from "Retry policy for failed saga transaction". --- docs/sagas.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/sagas.md b/docs/sagas.md index 11d354657..083a6597a 100644 --- a/docs/sagas.md +++ b/docs/sagas.md @@ -15,7 +15,7 @@ builder .Then() .CompensateWith() ) - .OnError(Models.WorkflowErrorHandling.Retry, TimeSpan.FromSeconds(5)) + .CompensateWith() .Then(context => Console.WriteLine("End")); ``` @@ -34,7 +34,7 @@ builder .Then() .CompensateWith() ) - .CompensateWith() + .OnError(Models.WorkflowErrorHandling.Retry, TimeSpan.FromSeconds(5)) .Then(context => Console.WriteLine("End")); ``` @@ -158,4 +158,4 @@ Steps: - Id: Bye StepType: MyApp.GoodbyeWorld, MyApp -``` \ No newline at end of file +```