Saga Status
Lifecycle status of a saga aggregate (Saga).
State machine (choreography flow):
STARTED ──► AWAITING_RESPONSE ──► COMPLETED (happy path)
│ │
│ └──► COMPENSATING ──► COMPENSATED (rollback OK)
│ │
│ └──► COMPENSATION_FAILED (manual intervention)
│
└──► FAILED (no compensation needed)isTerminal returns true for states that the engine and watchdog must never advance further on their own.
Entries
Saga is parked waiting for an external feedback event correlated by sagaId (Saga Log Correlation). Watched by SagaWatchdog, which fails the saga if it stays here longer than veds.saga.await-response-timeout.
Compensation in progress. SagaCompensationRunner is iterating previously-completed steps in reverse order, undoing each one via SagaCompensator.
Terminal — every step was successfully compensated.
Terminal — at least one step refused to compensate. SagaWatchdog will retry compensation after veds.saga.compensation-retry-cooldown.
Properties
Functions
True when the engine must not perform any further automatic transitions on this saga.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.