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.

@FunctionalInterface public interface SagaStepAction
Step action invoked by a saga implementation.
  • Method Details

    • execute

      SagaCommandResult execute(TransactionContext context, SagaCommand command)
      Executes a step with propagated context.
      Parameters:
      context - transaction/correlation context for this step
      command - command payload and redacted metadata
      Returns:
      safe step result