Class RedeliveryPolicy
A policy used to customize exactly how you want the redelivery to work.
Inheritance
System.Object
RedeliveryPolicy
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 |
|
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
System.ICloneable