Show / Hide Table of Contents

    Class ConfirmableMessage<TMessage>

    A built-in envelope for making user-defined messages IConfirmableMessage without changing the types of the messages themselves.

    Designed to play nicely with typed Receive statements inside actors.

    Inheritance
    System.Object
    ConfirmableMessage<TMessage>
    Namespace:Akka.Persistence.Extras
    Assembly:Akka.Persistence.Extras.dll
    Syntax
    public sealed class ConfirmableMessage<TMessage> : object, IConfirmableMessageEnvelope<TMessage>, IConfirmableMessage
    Type Parameters
    Name Description
    TMessage

    Constructors

    ConfirmableMessage(TMessage, Int64, String)

    Declaration
    public ConfirmableMessage(TMessage message, long confirmationId, string senderId)
    Parameters
    Type Name Description
    TMessage message
    System.Int64 confirmationId
    System.String senderId

    Properties

    ConfirmationId

    The confirmation ID assigned by any type of .

    Declaration
    public long ConfirmationId { get; }
    Property Value
    Type Description
    System.Int64
    Remarks

    Must be monotonic per-sender: this means that if your doesn't persist it's delivery state, you're going to have a "bad time" when using the DeDuplicatingReceiveActor.

    Message

    Declaration
    public TMessage Message { get; }
    Property Value
    Type Description
    TMessage

    SenderId

    The globally unique (cluster-wide) ID of the sender. Usually this is the

    Declaration
    public string SenderId { get; }
    Property Value
    Type Description
    System.String
    Back to top Copyright © 2015-2018 Petabridge®