Show / Hide Table of Contents

Class RedeliveryPolicy

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

Inheritance
object
RedeliveryPolicy
DefaultRedeliveryPolicy
Implements
IRedeliveryPolicy
ICloneable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: CodersRealm.NmsAmqpClient
Assembly: CodersRealm.NmsAmqpClient.dll
Syntax
public abstract class RedeliveryPolicy : IRedeliveryPolicy, ICloneable

Properties

BackOffMultiplier

Declaration
public virtual int BackOffMultiplier { get; set; }
Property Value
Type Description
int

CollisionAvoidancePercent

Declaration
public virtual int CollisionAvoidancePercent { get; set; }
Property Value
Type Description
int

InitialRedeliveryDelay

Declaration
public virtual int InitialRedeliveryDelay { get; set; }
Property Value
Type Description
int

MaximumRedeliveries

Declaration
public virtual int MaximumRedeliveries { get; set; }
Property Value
Type Description
int

NextBool

Gets the next boolean

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

true if [next bool]; otherwise, false.

RandomNumberGenerator

Gets the random number generator.

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

The random number generator.

UseCollisionAvoidance

Declaration
public virtual bool UseCollisionAvoidance { get; set; }
Property Value
Type Description
bool

UseExponentialBackOff

Declaration
public virtual bool UseExponentialBackOff { get; set; }
Property Value
Type Description
bool

Methods

Clone()

Clone this object and return a new instance that the caller now owns.

Declaration
public object Clone()
Returns
Type Description
object

GetOutcome(IDestination)

Declaration
public abstract int GetOutcome(IDestination destination)
Parameters
Type Name Description
IDestination destination
Returns
Type Description
int

RedeliveryDelay(int)

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

Implements

Apache.NMS.IRedeliveryPolicy
ICloneable
In this article
Back to top Generated by DocFX