Class OutboxStoredMessage
Encapsulates the information related to a message stored in the outbox.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|---|
System.Type | messageType | The type of the message. |
System.Byte[] | content | The message raw binary content (body). |
System.Collections.Generic.IEnumerable<MessageHeader> | headers | The message headers. |
System.String | endpointName | The name of the producer endpoint. |
System.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 |
---|---|
System.String |
Content
Gets the message raw binary content (body).
Declaration
public byte[] Content { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
EndpointName
Gets the name of the producer endpoint.
Declaration
public string EndpointName { get; }
Property Value
Type | Description |
---|---|
System.String |
Headers
Gets the message headers.
Declaration
public IReadOnlyCollection<MessageHeader> Headers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<MessageHeader> |
MessageType
Gets the type of the message.
Declaration
public Type MessageType { get; }
Property Value
Type | Description |
---|---|
System.Type |