AbstractEventDispatcher
abstract class AbstractEventDispatcher<E : MessageExchange<*, *>, BUS : MessageBus<*, E>> : MainDispatcher<E>
Inheritors
Properties
Link copied to clipboard
The event handler for processing events.
Link copied to clipboard
abstract val functionRegistrar: MessageFunctionRegistrar<MessageFunction<Any, DomainEventExchange<*>, Mono<*>>>
The registrar containing event processing functions.
Link copied to clipboard
The message bus for sending and receiving events.
Link copied to clipboard
The set of named aggregates that this dispatcher will manage.
Link copied to clipboard
The level of parallelism for processing events.
Link copied to clipboard
Functions
Link copied to clipboard
abstract fun newAggregateDispatcher(namedAggregate: NamedAggregate, messageFlux: Flux<E>): 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.
Link copied to clipboard
Stops the dispatcher gracefully by shutting down all aggregate dispatchers.