SimpleCommandAggregateFactory

constructor(eventStore: EventStore, messagePropagator: MessagePropagators = MessagePropagators.DEFAULT)

Parameters

eventStore

The event store to be used by created command aggregates.

messagePropagator

Propagates a command's context into the event streams it commits.