StateDomainEventExchange
Exchange interface for domain events with state context.
This interface extends DomainEventExchange to provide access to the current state of an aggregate during event processing. It allows extracting state-related objects from the exchange context.
Type Parameters
S
The type of the aggregate state
T
The type of the domain event body