Table of Contents

Class DbOutboxMessage

Namespace
Silverback.Messaging.Producing.TransactionalOutbox
Assembly
Silverback.Storage.Relational.dll

Encapsulates the information to be stored in the outbox to be able to replay the message at a later time.

public class DbOutboxMessage : OutboxMessage
Inheritance
DbOutboxMessage
Inherited Members

Constructors

DbOutboxMessage(long, byte[]?, IEnumerable<MessageHeader>?, string)

Initializes a new instance of the DbOutboxMessage class.

public DbOutboxMessage(long id, byte[]? content, IEnumerable<MessageHeader>? headers, string endpointName)

Parameters

id long

The primary key of the database record.

content byte[]

The message raw binary content (body).

headers IEnumerable<MessageHeader>

The message headers.

endpointName string

The endpoint name.

Properties

Id

Gets the primary key of the database record.

public long Id { get; }

Property Value

long