Show / Hide Table of Contents

    Interface IRedeliveryPolicy

    Inherited Members
    System.ICloneable.Clone()
    Namespace: Apache.NMS
    Assembly: Apache.NMS.dll
    Syntax
    public interface IRedeliveryPolicy : ICloneable

    Properties

    | Improve this Doc View Source

    BackOffMultiplier

    Gets or sets the back off multiplier.

    Declaration
    int BackOffMultiplier { get; set; }
    Property Value
    Type Description
    System.Int32

    The back off multiplier.

    | Improve this Doc View Source

    CollisionAvoidancePercent

    Gets or sets the collision avoidance percent. This causes the redelivery delay to be adjusted in order to avoid possible collision when messages are redelivered to concurrent consumers.

    Declaration
    int CollisionAvoidancePercent { get; set; }
    Property Value
    Type Description
    System.Int32

    The collision avoidance factor.

    | Improve this Doc View Source

    InitialRedeliveryDelay

    The time in milliseconds to initially delay a redelivery

    Declaration
    int InitialRedeliveryDelay { get; set; }
    Property Value
    Type Description
    System.Int32

    The initial redelivery delay.

    | Improve this Doc View Source

    MaximumRedeliveries

    Gets or sets the maximum redeliveries. A value less than zero indicates that there is no maximum and the NMS provider should retry forever.

    Declaration
    int MaximumRedeliveries { get; set; }
    Property Value
    Type Description
    System.Int32

    The maximum redeliveries.

    | Improve this Doc View Source

    UseCollisionAvoidance

    Gets or sets a value indicating whether to [use collision avoidance].

    Declaration
    bool UseCollisionAvoidance { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [use collision avoidance]; otherwise, false.

    | Improve this Doc View Source

    UseExponentialBackOff

    Gets or sets a value indicating whether [use exponential back off].

    Declaration
    bool UseExponentialBackOff { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [use exponential back off]; otherwise, false.

    Methods

    | Improve this Doc View Source

    RedeliveryDelay(Int32)

    The time in milliseconds to delay a redelivery

    Declaration
    int RedeliveryDelay(int redeliveredCounter)
    Parameters
    Type Name Description
    System.Int32 redeliveredCounter

    The redelivered counter.

    Returns
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    Back to top Copyright © 2005-2023 Apache Software Foundation project
    Generated by DocFX