StatelessSagaFunction
constructor(delegate: MessageFunction<Any, DomainEventExchange<*>, Mono<*>>, commandGateway: CommandGateway, commandMessageFactory: CommandMessageFactory, messagePropagator: MessagePropagators = MessagePropagators.DEFAULT)
Parameters
delegate
The underlying message function that handles the domain event processing.
commandGateway
The gateway used to send commands.
commandMessageFactory
The factory for creating command messages.
messagePropagator
Propagates the event's context into the commands this saga function sends, with this function as their producer: a chain wait reaches only the commands of the saga function it waits for.