Class OutboxStoredMessage
Encapsulates the information related to a message stored in the outbox.
Inherited Members
Namespace: Silverback.Messaging.Outbound.TransactionalOutbox.Repositories.Model
Assembly: Silverback.Integration.dll
Syntax
public class OutboxStoredMessage
Constructors
| Improve this doc View sourceOutboxStoredMessage(Type?, byte[]?, IEnumerable<MessageHeader>?, string, string?)
Initializes a new instance of the OutboxStoredMessage class.
Declaration
public OutboxStoredMessage(Type? messageType, byte[]? content, IEnumerable<MessageHeader>? headers, string endpointName, string? actualEndpointName)
Parameters
Type | Name | Description |
---|---|---|
Type | messageType | The type of the message. |
byte[] | content | The message raw binary content (body). |
IEnumerable<MessageHeader> | headers | The message headers. |
string | endpointName | The name of the producer endpoint. |
string | actualEndpointName | The name of the actual target endpoint that was resolved for the message. |
Properties
| Improve this doc View sourceActualEndpointName
Gets the name of the actual target endpoint that was resolved for the message.
Declaration
public string? ActualEndpointName { get; }
Property Value
Type | Description |
---|---|
string |
Content
Gets the message raw binary content (body).
Declaration
public byte[]? Content { get; }
Property Value
Type | Description |
---|---|
byte[] |
EndpointName
Gets the name of the producer endpoint.
Declaration
public string EndpointName { get; }
Property Value
Type | Description |
---|---|
string |
Headers
Gets the message headers.
Declaration
public IReadOnlyCollection<MessageHeader>? Headers { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<MessageHeader> |
MessageType
Gets the type of the message.
Declaration
public Type? MessageType { get; }
Property Value
Type | Description |
---|---|
Type |