Class OutboxMessage
Represents a message that has been stored locally as part of an outbox and is waiting to be dispatched to the real message broker.
Inherited Members
Namespace: Chapar.Core.Outbox
Assembly: Chapar.Core.dll
Syntax
public class OutboxMessage
Properties
| Edit this page View SourceDestinationQueue
If set, the message is a command and must be sent to this exact queue.
Declaration
public string? DestinationQueue { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Headers
The serialized headers (JSON).
Declaration
public string? Headers { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Unique identifier of the outbox record (used for de-duplication).
Declaration
public Guid Id { get; init; }
Property Value
| Type | Description |
|---|---|
| Guid |
IsProcessed
Whether the message has been successfully published to the broker.
Declaration
public bool IsProcessed { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
MessageType
The fully qualified assembly name of the message type.
Declaration
public string MessageType { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
OccurredOn
Timestamp when the message was created.
Declaration
public DateTime OccurredOn { get; init; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Payload
The serialized message body (JSON, XML, etc.).
Declaration
public string Payload { get; init; }
Property Value
| Type | Description |
|---|---|
| string |