AggregateProcessor

Processor for handling commands on a specific aggregate instance.

This interface defines the contract for processing commands against a particular aggregate, ensuring proper serialization and state management.

Type Parameters

C

The type of the command aggregate root.

Inheritors

Properties

Link copied to clipboard
abstract override val aggregateId: AggregateId

Functions

Link copied to clipboard
abstract override fun process(exchange: ServerCommandExchange<*>): Mono<DomainEventStream>

Processes a command exchange for this aggregate instance.