-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SubQueue option and remove locktoken overloads (#14692)
- Loading branch information
1 parent
5fa0036
commit 902a8d8
Showing
12 changed files
with
138 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
sdk/servicebus/Azure.Messaging.ServiceBus/src/Primitives/SubQueue.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
namespace Azure.Messaging.ServiceBus | ||
{ | ||
/// <summary> | ||
/// Represents the possible system subqueues that can be received from. | ||
/// </summary> | ||
public enum SubQueue | ||
{ | ||
/// <summary> | ||
/// No subqueue, the queue itself will be received from. | ||
/// </summary> | ||
None = 0, | ||
|
||
/// <summary> | ||
/// The dead-letter subqueue contains messages that have been deadlettered. | ||
/// <see href="https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dead-letter-queues#moving-messages-to-the-dlq"/> | ||
/// </summary> | ||
DeadLetter = 1, | ||
|
||
/// <summary> | ||
/// The transfer dead-letter subqueue contains messages that have been deadlettered when | ||
/// the following conditions apply: | ||
/// <list type="bullet"> | ||
/// <item> | ||
/// <description>A message passes through more than four queues or topics that are chained together.</description> | ||
/// </item> | ||
/// <item> | ||
/// <description>The destination queue or topic is disabled or deleted.</description> | ||
/// </item> | ||
/// <item> | ||
/// <description>The destination queue or topic exceeds the maximum entity size.</description> | ||
/// </item> | ||
/// </list> | ||
/// <seealso href="https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dead-letter-queues#dead-lettering-in-forwardto-or-sendvia-scenarios"/> | ||
/// </summary> | ||
TransferDeadLetter = 2 | ||
} | ||
} |
Oops, something went wrong.