You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log.error("This should not have happened, please check that both the saga api and all the participating apis are in sync in terms of events and their outcomes. {}", event.toString()); // more explicit error message,
463
470
}
@@ -467,6 +474,8 @@ public void handleEvent(@NotNull final Event event) throws InterruptedException,
467
474
} else {
468
475
log.error("Saga process without DB record is not expected. {}", event);
469
476
}
477
+
478
+
handleEvent.stop();
470
479
}
471
480
472
481
/**
@@ -576,14 +585,22 @@ protected Optional<SagaEventState<T>> findNextSagaEventState(final EventType cur
576
585
* @throws IOException if there is connectivity problem
log.info("ignoring this message as we have already processed it or it is completed. {}", event.toString()); // it is expected to receive duplicate message in saga pattern, system should be designed to handle duplicates.
0 commit comments