DefaultCommandGateway

constructor(commandWaitEndpoint: CommandWaitEndpoint, commandBus: CommandBus, validator: Validator, requestIdChecker: RequestIdChecker, waitCoordinator: WaitCoordinator, commandWaitNotifier: CommandWaitNotifier)

Parameters

commandWaitEndpoint

The endpoint wait signals for this node are sent to.

commandBus

The underlying command bus the admitted commands are sent through.

validator

The validator for command bodies.

requestIdChecker

Checker for command request ID idempotency.

waitCoordinator

Coordinator for managing wait handles.

commandWaitNotifier

Notifier for the SENT signal of a command that carries an upstream wait plan.