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
originalClaimClaimedSagaTimeoutThe original failed dispatch claim.
kindMessageFailureKindPermanent, Poison or Unknown.
reasonstringDiagnostic 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
OriginalClaim
Gets a detached copy of the original failed dispatch claim.
public ClaimedSagaTimeout OriginalClaim { get; }
Property Value
Reason
Gets bounded diagnostic text, independent of the original payload.
public string Reason { get; }