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
idlongThe primary key of the database record.
contentbyte[]The message raw binary content (body).
headersIEnumerable<MessageHeader>The message headers.
endpointNamestringThe endpoint name.
Properties
Id
Gets the primary key of the database record.
public long Id { get; }