SimpleDomainEventExchange
class SimpleDomainEventExchange<T : Any>(val message: DomainEvent<T>, val attributes: MutableMap<String, Any> = ConcurrentHashMap()) : DomainEventExchange<T>
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.
Parameters
T
The type of the domain event body
message
The domain event message
attributes
The mutable map of attributes (default: ConcurrentHashMap)
See also
Constructors
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Clears the current error object.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Retrieves the command stream from the domain event exchange attributes.
Link copied to clipboard
Retrieves the event processing function for this exchange.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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.
Link copied to clipboard
Link copied to clipboard