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
Fully-qualified consumer handler type name.
Declaration
public string ConsumerTypeName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Database primary key.
Declaration
public long Id { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
LastAttemptAt
Timestamp of the latest processing attempt.
Declaration
public DateTime? LastAttemptAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
LastError
Last captured processing error. Intended for diagnostics and operational visibility.
Declaration
public string? LastError { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MessageId
Transport-level unique message identifier. Usually corresponds to MassTransit MessageId.
Declaration
public string MessageId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProcessedAt
Timestamp when processing completed successfully.
Declaration
public DateTime? ProcessedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
ReceivedAt
Timestamp when the message was first reserved.
Declaration
public DateTime ReceivedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
RetryCount
Number of processing attempts performed for this message.
Declaration
public int RetryCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Status
Current processing state of the inbox message.
Declaration
public InboxMessageStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| InboxMessageStatus |