Skip to content

Commit 1643902

Browse files
authored
Merge pull request #189154 from spelluru/patch-85
slight modification from Jaganathan
2 parents 6e32dbe + 113d065 commit 1643902

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

articles/service-bus-messaging/message-expiration.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Azure Service Bus - message expiration
33
description: This article explains about expiration and time to live (TTL) of Azure Service Bus messages. After such a deadline, the message is no longer delivered.
44
ms.topic: conceptual
5-
ms.date: 11/17/2021
5+
ms.date: 02/18/2022
66
ms.custom: contperf-fy22q2
77
---
88

@@ -45,8 +45,9 @@ Automatic cleanup is useful in development and test scenarios in which entities
4545

4646
The feature is enabled using the **auto delete on idle** property on the namespace. This property is set to the duration for which an entity must be idle (unused) before it's automatically deleted. The minimum value for this property is 5 minutes.
4747

48-
> [!IMPORTANT]
49-
> Setting the lock level to [`CanNotDelete`](../azure-resource-manager/management/lock-resources.md) on the namespace or at a higher level doesn't prevent entities with `AutoDeleteOnIdle` configured from being deleted. If you don't want the entity to be deleted, set the `AutoDeleteOnIdle` property to `DataTime.MaxValue`.
48+
> [!IMPORTANT]
49+
> Setting the Azure Resource Manager lock-level to [`CanNotDelete`](../azure-resource-manager/management/lock-resources.md), on the namespace or at a higher level doesn't prevent entities with `AutoDeleteOnIdle` from being deleted. If you don't want the entity to be deleted, set the `AutoDeleteOnIdle` property to `DataTime.MaxValue`.
50+
5051

5152
## Idleness
5253

@@ -58,7 +59,7 @@ Here's what considered idleness of entities (queues, topics, and subscriptions):
5859
| Topic | <ul><li>No sends</li><li>No updates to the topic</li><li>No scheduled messages</li><li>No operations on the topic's subscriptions (see the next row)</li></ul> |
5960
| Subscription | <ul><li>No receives</li><li>No updates to the subscription</li><li>No new rules added to the subscription</li><li>No browse/peek</li></ul> |
6061

61-
## SDKS
62+
## SDKs
6263

6364
- To set time-to-live on a message: [.NET](/dotnet/api/azure.messaging.servicebus.servicebusmessage.timetolive), [Java](/java/api/com.azure.messaging.servicebus.servicebusmessage.settimetolive), [Python](/python/api/azure-servicebus/azure.servicebus.servicebusmessage), [JavaScript](/javascript/api/@azure/service-bus/servicebusmessage#@azure-service-bus-servicebusmessage-timetolive)
6465
- To set the default time-to-live on a queue: [.NET](/dotnet/api/azure.messaging.servicebus.administration.createqueueoptions.defaultmessagetimetolive), [Java](/java/api/com.azure.messaging.servicebus.administration.models.createqueueoptions.setdefaultmessagetimetolive), [Python](/python/api/azure-servicebus/azure.servicebus.management.queueproperties), [JavaScript](/javascript/api/@azure/service-bus/queueproperties#@azure-service-bus-queueproperties-defaultmessagetimetolive)

0 commit comments

Comments
 (0)