StateDomainEventExchange
Exchange interface for domain events with state context.
This interface extends DomainEventExchange to provide access to the current state of an aggregate during event processing. It allows extracting state-related objects from the exchange context.
Type Parameters
The type of the aggregate state
The type of the domain event body
See also
Inheritors
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.