Show / Hide Table of Contents

    Class AmqpSource

    Inheritance
    Object
    AmqpSource
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Akka.Streams.Amqp.RabbitMq.Dsl
    Assembly: Akka.Streams.Amqp.RabbitMq.dll
    Syntax
    public static class AmqpSource

    Methods

    | Improve this Doc View Source

    AtMostOnceSource(IAmqpSourceSettings, Int32)

    Convenience for "at-most once delivery" semantics. Each message is acked to RabbitMQ before it is emitted downstream.

    Declaration
    public static Source<IncomingMessage, NotUsed> AtMostOnceSource(IAmqpSourceSettings settings, int bufferSize)
    Parameters
    Type Name Description
    IAmqpSourceSettings settings
    Int32 bufferSize
    Returns
    Type Description
    Akka.Streams.Dsl.Source<IncomingMessage, Akka.NotUsed>
    | Improve this Doc View Source

    CommittableSource(IAmqpSourceSettings, Int32)

    The committableSource makes it possible to commit (ack/nack) messages to RabbitMQ. This is useful when "at-least once delivery" is desired, as each message will likely be delivered one time but in failure cases could be duplicated. If you commit the offset before processing the message you get "at-most once delivery" semantics, and for that there is a AtMostOnceSource(IAmqpSourceSettings, Int32). Compared to auto-commit, this gives exact control over when a message is considered consumed.

    Declaration
    public static Source<CommittableIncomingMessage, NotUsed> CommittableSource(IAmqpSourceSettings settings, int bufferSize)
    Parameters
    Type Name Description
    IAmqpSourceSettings settings
    Int32 bufferSize
    Returns
    Type Description
    Akka.Streams.Dsl.Source<CommittableIncomingMessage, Akka.NotUsed>

    TBD

    • Improve this Doc
    • View Source
    Back to top Copyright © 2013-2020 Akka.NET project
    Generated by DocFX