Class OutboxMessage
- Namespace
- Silverback.Messaging.Producing.TransactionalOutbox
- Assembly
- Silverback.Integration.dll
Encapsulates the information to be stored in the outbox to be able to replay the message at a later time.
public class OutboxMessage
- Inheritance
-
OutboxMessage
- Derived
- Inherited Members
Constructors
OutboxMessage(byte[]?, IEnumerable<MessageHeader>?, string)
Initializes a new instance of the OutboxMessage class.
public OutboxMessage(byte[]? content, IEnumerable<MessageHeader>? headers, string endpointName)
Parameters
contentbyte[]The message raw binary content (body).
headersIEnumerable<MessageHeader>The message headers.
endpointNamestringThe endpoint name.
Properties
Content
Gets the message raw binary content (body).
public byte[]? Content { get; }
Property Value
- byte[]
EndpointName
Gets the destination endpoint name.
public string EndpointName { get; }
Property Value
Headers
Gets the message headers.
public IReadOnlyCollection<MessageHeader>? Headers { get; }