Table of Contents

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

content byte[]

The message raw binary content (body).

headers IEnumerable<MessageHeader>

The message headers.

endpointName string

The 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

string

Headers

Gets the message headers.

public IReadOnlyCollection<MessageHeader>? Headers { get; }

Property Value

IReadOnlyCollection<MessageHeader>