AbstractDispatcher
Abstract base class for message dispatchers that manage multiple aggregate dispatchers.
This class coordinates the dispatching of messages to multiple named aggregates by creating individual dispatchers for each aggregate and managing their lifecycle.
Parameters
T
The type of message being dispatched
Inheritors
Functions
Link copied to clipboard
abstract fun newAggregateDispatcher(namedAggregate: NamedAggregate, messageFlux: Flux<T>): MessageDispatcher
Creates a new message dispatcher for a specific named aggregate.
Link copied to clipboard
Creates a flux of messages for the specified named aggregate.