Class InboxMessage
Represents a record of an incoming message that has been (or is being) processed. Used by the Inbox pattern to guarantee exactly‑once processing semantics.
Inherited Members
Namespace: Chapar.Core.Inbox
Assembly: Chapar.Core.dll
Syntax
public class InboxMessage
Properties
| Edit this page View SourceConsumerTypeName
The name of the consumer that processed the message.
Declaration
public string ConsumerTypeName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
IsProcessed
Indicates if the message has already been fully processed.
Declaration
public bool IsProcessed { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MessageId
The unique identifier of the incoming message (usually the MessageId header).
Declaration
public string MessageId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
ReceivedAt
Timestamp when the message was first received.
Declaration
public DateTime ReceivedAt { get; init; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Methods
| Edit this page View SourceTryMarkAsProcessed()
Attempts to mark the message as processed.
Declaration
public bool TryMarkAsProcessed()
Returns
| Type | Description |
|---|---|
| bool |
|