Skip to content

Commit 290d4f2

Browse files
authored
Merge pull request #7112 from Particular/feature/updating-delayed-retries-docs
Legacy Docs Review: Updating delayed retries documentation
2 parents 725ec4a + 6035f89 commit 290d4f2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

nservicebus/recoverability/configure-delayed-retries.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,20 @@
22
title: Configure delayed retries
33
summary: How to configure delayed retries as a second stage of recoverability.
44
component: Core
5-
reviewed: 2023-02-01
5+
reviewed: 2025-04-28
66
redirects:
77
- nservicebus/second-level-retries
88
related:
99
- samples/faulttolerance
1010
- samples/custom-recoverability
1111
---
1212

13-
> [!NOTE]
14-
> Starting from NServiceBus version 6, the delayed retries policy (formerly known as second level retries policy) has been deprecated in favor of the new custom recoverability policy which allows more control over the recoverability behavior. This documentation shows how the previous delayed retries policies can be implemented with the new [recoverability policy](/nservicebus/recoverability/custom-recoverability-policy.md).
15-
1613
> [!WARNING]
1714
> Delayed retries cannot be used when transport transactions are disabled or delayed delivery is not available. For more information about transport transactions, refer to [transport transactions](/transports/transactions.md). For more details on delayed delivery, see the [delayed delivery](/nservicebus/messaging/delayed-delivery.md) article.
1815
1916
## Configuring delayed retries
2017

21-
* `TimeIncrease`: Specified as a TimeSpan, defaults to 10 seconds. Specifies the delay interval for each retry attempt. This delay increases by the same timespan with each delayed delivery. For example, if the specified value is the default 10 seconds, i.e. 00:00:10, then the first delayed retry will be at ten seconds, the subsequent delayed retry will be 20 seconds, and so on.
18+
* `TimeIncrease`: Specifies the delay interval for each retry attempt. This delay increases by the same timespan with each delayed delivery. The default value is 10 seconds. For example, with the default value of 10 seconds, i.e., 00:00:10, the first delayed retry will occur at 10 seconds, the subsequent delayed retry will occur at 20 seconds, and so on.
2219
* `NumberOfRetries`: Number of times delayed retries are performed. Default is 3.
2320

2421
snippet: DelayedRetriesConfiguration
@@ -35,6 +32,8 @@ Custom retry logic can be configured via code.
3532

3633
snippet: DelayedRetriesCustomPolicy
3734

35+
More details can be found in the [recoverability policy documentation](/nservicebus/recoverability/custom-recoverability-policy.md).
36+
3837

3938
### Simple policy
4039

0 commit comments

Comments
 (0)