SimpleStateDomainEventExchange
constructor(state: ReadOnlyStateAggregate<S>, message: DomainEvent<T>, attributes: MutableMap<String, Any> = ConcurrentHashMap())
Creates a new SimpleStateDomainEventExchange with state, message, and attributes
Parameters
S
The type of the aggregate state
T
The type of the domain event body
state
The read-only state aggregate
message
The domain event message
attributes
The mutable map of attributes (default: ConcurrentHashMap)