create

open override fun <C : Any, S : Any> create(aggregateId: AggregateId, aggregateMetadata: AggregateMetadata<C, S>): AggregateProcessor<C>

Creates a retryable aggregate processor.

Return

A new RetryableAggregateProcessor instance.

Parameters

C

The type of the command aggregate root.

S

The type of the state aggregate.

aggregateId

The ID of the aggregate.

aggregateMetadata

The aggregate metadata.