ProjectionDispatcher
Dispatcher for projections that handles domain events and coordinates projection processing. This dispatcher extends CompositeEventDispatcher to provide event-driven processing for projections that transform domain events into read models or perform side effects.
Parameters
The name of the dispatcher, typically formatted as applicationName.ProjectionDispatcher.
The number of parallel threads for processing messages (default: MessageParallelism.DEFAULT_PARALLELISM).
The bus for publishing domain events.
The bus for publishing state events.
The registrar for projection functions.
The handler for processing domain events.
The supplier for aggregate schedulers (default: DefaultAggregateSchedulerSupplier with "ProjectionDispatcher" prefix).
Instance-scoped metrics recorder propagated to child dispatchers.