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.
Parameters
The type of the aggregate state
The type of the domain event body
The read-only state aggregate
The domain event message
The mutable map of attributes (default: ConcurrentHashMap)
See also
Constructors
Creates a new SimpleStateDomainEventExchange with state, message, and attributes
Properties
Functions
Clears the current error object.
Retrieves the command stream from the domain event exchange attributes.
Retrieves the event processing function for this exchange.
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.