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.
Type Parameters
T
The type of the domain event body