Interface IRedeliveryPolicy
Inherited Members
Namespace: Apache.NMS
Assembly: Apache.NMS.dll
Syntax
public interface IRedeliveryPolicy : ICloneable
Properties
| Improve this Doc View SourceBackOffMultiplier
Gets or sets the back off multiplier.
Declaration
int BackOffMultiplier { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The back off multiplier. |
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. |
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. |
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. |
UseCollisionAvoidance
Gets or sets a value indicating whether to [use collision avoidance].
Declaration
bool UseCollisionAvoidance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
UseExponentialBackOff
Gets or sets a value indicating whether [use exponential back off].
Declaration
bool UseExponentialBackOff { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Methods
| Improve this Doc View SourceRedeliveryDelay(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 |