Interface SagaStepAction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Step action invoked by a saga implementation.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(TransactionContext context, SagaCommand command) Executes a step with propagated context.
-
Method Details
-
execute
Executes a step with propagated context.- Parameters:
context- transaction/correlation context for this stepcommand- command payload and redacted metadata- Returns:
- safe step result
-