Show / Hide Table of Contents

    Class ConfirmableMessageEnvelope

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

    Inheritance
    System.Object
    ConfirmableMessageEnvelope
    Namespace:Akka.Persistence.Extras
    Assembly:Akka.Persistence.Extras.dll
    Syntax
    public sealed class ConfirmableMessageEnvelope : object, IConfirmableMessage

    Constructors

    ConfirmableMessageEnvelope(Int64, String, Object)

    Declaration
    public ConfirmableMessageEnvelope(long confirmationId, string senderId, object message)
    Parameters
    Type Name Description
    System.Int64 confirmationId
    System.String senderId
    System.Object message

    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

    The user-defined message.

    Declaration
    public object Message { get; }
    Property Value
    Type Description
    System.Object

    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®