Table of Contents

Class SagaTimeoutFailureObservation

Namespace
Excalibur.Saga.Abstractions
Assembly
Excalibur.Saga.dll

Detached immutable observation of ONE failed dispatch, retained across hold reconciliation/rebinding.

public sealed class SagaTimeoutFailureObservation
Inheritance
SagaTimeoutFailureObservation
Inherited Members

Constructors

SagaTimeoutFailureObservation(ClaimedSagaTimeout, MessageFailureKind, string)

Captures original claim and bytes once; both epochs come from the same claim statement.

public SagaTimeoutFailureObservation(ClaimedSagaTimeout originalClaim, MessageFailureKind kind, string reason)

Parameters

originalClaim ClaimedSagaTimeout

The original failed dispatch claim.

kind MessageFailureKind

Permanent, Poison or Unknown.

reason string

Diagnostic text of at most 1024 UTF-16 code units.

Remarks

Only Permanent, Poison and Unknown are hold reasons. Diagnostic reason is bounded to 1024 UTF-16 units.

Properties

Kind

Gets the observed nonretryable classification.

public MessageFailureKind Kind { get; }

Property Value

MessageFailureKind

OriginalClaim

Gets a detached copy of the original failed dispatch claim.

public ClaimedSagaTimeout OriginalClaim { get; }

Property Value

ClaimedSagaTimeout

Reason

Gets bounded diagnostic text, independent of the original payload.

public string Reason { get; }

Property Value

string