Show / Hide Table of Contents

    Class RedeliveryPolicy

    A policy used to customize exactly how you want the redelivery to work.

    Inheritance
    System.Object
    RedeliveryPolicy
    Implements
    IRedeliveryPolicy
    System.ICloneable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Apache.NMS.Policies
    Assembly: Apache.NMS.dll
    Syntax
    public class RedeliveryPolicy : IRedeliveryPolicy, ICloneable

    Properties

    BackOffMultiplier

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

    CollisionAvoidancePercent

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

    InitialRedeliveryDelay

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

    MaximumRedeliveries

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

    NextBool

    Gets the next boolean

    Declaration
    protected static bool NextBool { get; }
    Property Value
    Type Description
    System.Boolean

    true if [next bool]; otherwise, false.

    RandomNumberGenerator

    Gets the random number generator.

    Declaration
    protected static Random RandomNumberGenerator { get; }
    Property Value
    Type Description
    System.Random

    The random number generator.

    UseCollisionAvoidance

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

    UseExponentialBackOff

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

    Methods

    Clone()

    Declaration
    public object Clone()
    Returns
    Type Description
    System.Object

    RedeliveryDelay(Int32)

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

    Implements

    IRedeliveryPolicy
    System.ICloneable
    Back to top Copyright © 2005-2019 Apache Software Foundation project
    Generated by DocFX