SagaAlreadyStartedExceptionType

PackageFCQRS
The aggregate stored nothing for a command: one of its events would start a saga that the command's correlation ID already started for another event. A saga starts once per correlation ID and aggregate, so its second start would be lost.

Specification

Kind
Type
Members
4
Examples
0
``.ctor``Signature
SagaAlreadyStartedException(aggregateId, correlationId, saga)
SagaSignature
this.Saga
CorrelationIdSignature
this.CorrelationId
AggregateIdSignature
this.AggregateId

Summary

NameSignatureSynopsis
``.ctor``SagaAlreadyStartedException(aggregateId, correlationId, saga)No description available.
Sagathis.SagaThe name of the saga that was already started.
CorrelationIdthis.CorrelationIdThe correlation ID the command reused.
AggregateIdthis.AggregateIdThe target aggregate's entity ID.

``.ctor``

SagaAlreadyStartedException(aggregateId, correlationId, saga)
Member

Parameters

NameTypeDescription
aggregateIdstring
correlationIdstring
sagastring

Returns

SagaAlreadyStartedException

Saga

this.Saga
Member
The name of the saga that was already started.

Returns

string

CorrelationId

this.CorrelationId
Member
The correlation ID the command reused.

Returns

string

AggregateId

this.AggregateId
Member
The target aggregate's entity ID.

Returns

string