DomainEventHandler

Interface for domain event handlers.

This interface extends EventHandler to specifically handle domain events. Implementations should process domain event exchanges through a filter chain.

See also

Inheritors

Functions

Link copied to clipboard
abstract fun handle(context: DomainEventExchange<*>): Mono<Void>

Method to execute the handling logic.

Link copied to clipboard

Wraps a DomainEventHandler with metrics collection capabilities. Returns a MetricDomainEventHandler that collects metrics on domain event handling operations.