Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    InboxMessage
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Chapar.Core.Inbox
    Assembly: Chapar.Core.dll
    Syntax
    public class InboxMessage

    Properties

    | Edit this page View Source

    ConsumerTypeName

    The name of the consumer that processed the message.

    Declaration
    public string ConsumerTypeName { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    IsProcessed

    Indicates if the message has already been fully processed.

    Declaration
    public bool IsProcessed { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    MessageId

    The unique identifier of the incoming message (usually the MessageId header).

    Declaration
    public string MessageId { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ReceivedAt

    Timestamp when the message was first received.

    Declaration
    public DateTime ReceivedAt { get; init; }
    Property Value
    Type Description
    DateTime

    Methods

    | Edit this page View Source

    TryMarkAsProcessed()

    Attempts to mark the message as processed.

    Declaration
    public bool TryMarkAsProcessed()
    Returns
    Type Description
    bool

    true if the message was just marked; false if it was already processed.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2026