AggregateMessageDispatcher
Abstract dispatcher for handling message exchanges for a specific aggregate.
This dispatcher groups message exchanges by a key for parallel processing, applies metrics, and handles each exchange on a specified scheduler.
Parameters
The type of message exchange being handled
Inheritors
Properties
Functions
Creates an AggregateId for this NamedAggregate with the specified parameters.
Finds the aggregate type class associated with this named aggregate.
Converts this NamedAggregate to its corresponding AggregateMetadata.
Generates a unique ID string for this NamedAggregate.
Gets the context alias prefix for this bounded context.
Handles a single message exchange.
Checks if the named aggregate is available locally at runtime.
Materializes this NamedAggregate into a MaterializedNamedAggregate.
Finds the aggregate type class associated with this named aggregate, throwing an exception if not found.
Safely processes the next message.
Handles errors that occur during message processing.
Extension function to convert a NamedAggregate to an EventNamedAggregate.
Converts a message exchange to a grouping key for parallel processing.
Converts this NamedAggregate to its string representation.
Converts this NamedAggregate to a string representation using the context alias.