SimpleDomainEventExchange
Simple implementation of DomainEventExchange.
This class provides a basic implementation of the DomainEventExchange interface, storing the domain event message and managing exchange attributes in a concurrent map.
Type Parameters
The type of the domain event body
See also
Constructors
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.