Class OutboxMessage
The entity stored in the outbox table.
Inherited Members
Namespace: Silverback.Database.Model
Assembly: Silverback.Integration.dll
Syntax
public class OutboxMessage
Properties
| Improve this doc View sourceActualEndpointName
Gets or sets the name of the actual target endpoint that was resolved for the message.
Declaration
[MaxLength(300)]
public string? ActualEndpointName { get; set; }
Property Value
Type | Description |
---|---|
string |
Content
Gets or sets the message content (body).
Declaration
public byte[]? Content { get; set; }
Property Value
Type | Description |
---|---|
byte[] |
Created
Gets or sets the datetime when the message was stored in the queue.
Declaration
public DateTime Created { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
EndpointName
Gets or sets the name of the producer endpoint.
Declaration
[MaxLength(300)]
public string EndpointName { get; set; }
Property Value
Type | Description |
---|---|
string |
Headers
Gets or sets the serialized message headers.
Declaration
[Obsolete("Replaced by SerializedHeaders.")]
public string? Headers { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
This field is no longer used (replaced by SerializedHeaders) and will be removed with the next major release.
Id
Gets or sets the primary key (identity).
Declaration
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
Property Value
Type | Description |
---|---|
int |
MessageType
Gets or sets the assembly qualified name of the message class.
Declaration
public string? MessageType { get; set; }
Property Value
Type | Description |
---|---|
string |
SerializedHeaders
Gets or sets the serialized message headers.
Declaration
public byte[]? SerializedHeaders { get; set; }
Property Value
Type | Description |
---|---|
byte[] |