DefaultDomainEventHandler

Default implementation of DomainEventHandler.

This class provides a standard implementation of domain event handling using a filter chain and error handling. It extends AbstractHandler to manage the processing lifecycle.

Parameters

chain

The filter chain to process domain events

errorHandler

The error handler for processing failures (default: LogResumeErrorHandler)

See also

Constructors

Link copied to clipboard
constructor(chain: FilterChain<DomainEventExchange<*>>, errorHandler: ErrorHandler<DomainEventExchange<*>> = LogResumeErrorHandler())