Class DbOutboxMessage
Encapsulates the information to be stored in the outbox to be able to replay the message at a later time.
Inherited Members
Namespace: Silverback.Messaging.Producing.TransactionalOutbox
Assembly: Silverback.Storage.Relational.dll
Syntax
public class DbOutboxMessage : OutboxMessage
Constructors
DbOutboxMessage(long, byte[]?, IEnumerable<MessageHeader>?, string)
Initializes a new instance of the DbOutboxMessage class.
Declaration
public DbOutboxMessage(long id, byte[]? content, IEnumerable<MessageHeader>? headers, string endpointName)
Parameters
| Type | Name | Description |
|---|---|---|
| long | id | The primary key of the database record. |
| byte[] | content | The message raw binary content (body). |
| IEnumerable<MessageHeader> | headers | The message headers. |
| string | endpointName | The endpoint name. |
Properties
Id
Gets the primary key of the database record.
Declaration
public long Id { get; }
Property Value
| Type | Description |
|---|---|
| long |