You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Gets or sets the maximum time period that a queue can remain idle before Azure Service Bus automatically deletes it.
213
+
/// </summary>
214
+
/// <value>The idle timeout after which unused entities are automatically deleted. The minimum allowed value is 5 minutes.</value>
215
+
/// <remarks>
216
+
/// <para>
217
+
/// This property controls the AutoDeleteOnIdle setting for queues created by the transport.
218
+
/// When an entity has no messages and no active connections for the specified duration,
219
+
/// Azure Service Bus will automatically delete it to help manage resource cleanup.
220
+
/// See <see href="https://learn.microsoft.com/en-us/azure/service-bus-messaging/advanced-features-overview#autodelete-on-idle"/>.
221
+
/// </para>
222
+
/// <para>
223
+
/// Setting this value can be useful for temporary queues (dynamically scaling endpoints that make use of 'MakeInstanceUniquelyAddressable') that should be cleaned up automatically
224
+
/// when they are no longer being used. However, be cautious when setting this for production endpoints as it may result in unexpected entity deletion during periods of low activity.
225
+
/// </para>
226
+
/// </remarks>
227
+
/// <exception cref="ArgumentOutOfRangeException">Thrown when the value is less than 5 minutes.</exception>
0 commit comments