SimpleStateDomainEventExchange
Simple implementation of StateDomainEventExchange.
This class provides a basic implementation of the StateDomainEventExchange interface, combining a read-only state aggregate with a domain event message and managing exchange attributes.
Type Parameters
The type of the aggregate state
The type of the domain event body
See also
Constructors
Creates a new SimpleStateDomainEventExchange with state, message, and attributes
Properties
Functions
Clears the current error object.
Confirms that this receiver synchronously admitted the local exchange.
Retrieves the command stream from the domain event exchange attributes.
Retrieves the event processing function for this exchange.
Rejects local-only suppression when this exchange is filtered or cannot be admitted. The distributed copy then remains eligible for processing.
Sets the command stream in the domain event exchange attributes. This allows the command stream to be associated with the domain event for later retrieval.