Skip to main content
Table of Contents

Class OutboxEntry

Namespace
Stratara.Abstractions.Outbox
Assembly
Stratara.Abstractions.dll

Durable outbox row — persists a serialised payload (command envelope or event bundle) for later delivery by the outbox worker. Written by dispatchers when the direct bus publish fails.

[ExcludeFromCodeCoverage]
public sealed class OutboxEntry : IEntity, IBucket, IHasRowVersion
Inheritance
OutboxEntry
Implements
Inherited Members
Extension Methods

Properties

BucketId

The bucket index in [0, BucketCount).

public required int BucketId { get; set; }

Property Value

int

DataJson

The serialised payload as JSON.

public required string DataJson { get; set; }

Property Value

string

DataTypeName

Fully-qualified, version-independent type name of the payload — used by the worker to deserialise.

public required string DataTypeName { get; set; }

Property Value

string

Id

The entity's primary-key identifier.

public Guid Id { get; set; }

Property Value

Guid

RowVersion

Current row version as read from xmin. Set by EF Core on save.

public uint RowVersion { get; set; }

Property Value

uint

Timestamp

When the entry was queued.

public DateTimeOffset Timestamp { get; set; }

Property Value

DateTimeOffset