Class PipelineOutboxEntry
- Namespace
- ReferenceApplication.Web.Governance.Pipeline
- Assembly
- ReferenceApplication.Web.dll
One audit-completion outbox entry and the lifecycle event its delivery produces.
public sealed record PipelineOutboxEntry : IEquatable<PipelineOutboxEntry>
- Inheritance
-
PipelineOutboxEntry
- Implements
- Inherited Members
Constructors
PipelineOutboxEntry(Guid, string, string, string, string?, string?, int, int, DateTimeOffset, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, string?, string?, string, bool)
One audit-completion outbox entry and the lifecycle event its delivery produces.
public PipelineOutboxEntry(Guid Id, string Status, string Destination, string MutationBatchId, string? CorrelationId, string? DecisionAuditRecordId, int AuditRecordCount, int RetryCount, DateTimeOffset CreatedUtc, DateTimeOffset? LastAttemptUtc, DateTimeOffset? NextAttemptUtc, DateTimeOffset? DeliveredUtc, string? LastErrorCode, string? LastErrorMessage, string LifecycleEventId, bool LifecycleEventAppended)
Parameters
IdGuidThe entry identifier.
StatusstringThe delivery status.
DestinationstringThe delivery destination.
MutationBatchIdstringThe mutation batch the entry completes.
CorrelationIdstringThe originating request's correlation identifier.
DecisionAuditRecordIdstringThe governance decision the mutation was made under.
AuditRecordCountintThe mutation-audit records in the batch.
RetryCountintThe failed delivery attempts so far.
CreatedUtcDateTimeOffsetWhen the entry was staged.
LastAttemptUtcDateTimeOffset?When delivery was last attempted.
NextAttemptUtcDateTimeOffset?When delivery will next be attempted.
DeliveredUtcDateTimeOffset?When the entry was delivered.
LastErrorCodestringThe last delivery error code.
LastErrorMessagestringThe last delivery error message.
LifecycleEventIdstringThe identifier of the lifecycle event delivery appends.
LifecycleEventAppendedboolWhether that lifecycle event is in the lifecycle table.
Properties
AuditRecordCount
The mutation-audit records in the batch.
public int AuditRecordCount { get; init; }
Property Value
CorrelationId
The originating request's correlation identifier.
public string? CorrelationId { get; init; }
Property Value
CreatedUtc
When the entry was staged.
public DateTimeOffset CreatedUtc { get; init; }
Property Value
DecisionAuditRecordId
The governance decision the mutation was made under.
public string? DecisionAuditRecordId { get; init; }
Property Value
DeliveredUtc
When the entry was delivered.
public DateTimeOffset? DeliveredUtc { get; init; }
Property Value
Destination
The delivery destination.
public string Destination { get; init; }
Property Value
Id
The entry identifier.
public Guid Id { get; init; }
Property Value
LastAttemptUtc
When delivery was last attempted.
public DateTimeOffset? LastAttemptUtc { get; init; }
Property Value
LastErrorCode
The last delivery error code.
public string? LastErrorCode { get; init; }
Property Value
LastErrorMessage
The last delivery error message.
public string? LastErrorMessage { get; init; }
Property Value
LifecycleEventAppended
Whether that lifecycle event is in the lifecycle table.
public bool LifecycleEventAppended { get; init; }
Property Value
LifecycleEventId
The identifier of the lifecycle event delivery appends.
public string LifecycleEventId { get; init; }
Property Value
MutationBatchId
The mutation batch the entry completes.
public string MutationBatchId { get; init; }
Property Value
NextAttemptUtc
When delivery will next be attempted.
public DateTimeOffset? NextAttemptUtc { get; init; }
Property Value
RetryCount
The failed delivery attempts so far.
public int RetryCount { get; init; }
Property Value
Status
The delivery status.
public string Status { get; init; }