Enum InboxStatus
Defines the possible processing states of a message in the inbox store.
public enum InboxStatus
- Extension Methods
Fields
Failed = 3The message processing failed and may be eligible for retry.
Messages in this state have experienced processing failures but may be retried based on retry policies. After maximum retries are exceeded, they become permanently failed.
Processed = 2The message has been successfully processed and completed.
This is a terminal state indicating successful message handling. Messages in this state will not be processed again and may be eligible for cleanup after a retention period.
Processing = 1The message is currently being processed by a handler.
This state prevents concurrent processing of the same message by multiple instances or threads. Messages in this state should not be processed again until they transition to a final state.
Received = 0The message has been received and is awaiting processing.
This is the initial state when a message is first stored in the inbox. Messages in this state are eligible for immediate processing.
Remarks
The inbox status tracks the lifecycle of a message from initial receipt through processing completion or failure. This enables proper duplicate detection and retry handling.