Class OutboxMessage
The entity stored in the outbox table.
Inheritance
System.Object
OutboxMessage
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.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 |
---|---|
System.String |
Content
Gets or sets the message content (body).
Declaration
public byte[] Content { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.DateTime |
EndpointName
Gets or sets the name of the producer endpoint.
Declaration
[MaxLength(300)]
public string EndpointName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Headers
Gets or sets the serialized message headers.
Declaration
[Obsolete("Replaced by SerializedHeaders.")]
public string Headers { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Int32 |
MessageType
Gets or sets the assembly qualified name of the message class.
Declaration
public string MessageType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SerializedHeaders
Gets or sets the serialized message headers.
Declaration
public byte[] SerializedHeaders { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |