Skip to content

Commit fe45bcd

Browse files
Merge pull request #269789 from spelluru/sbusgit0321
Service Bus Git issues
2 parents 8450b87 + dab2a7c commit fe45bcd

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

articles/service-bus-messaging/compare-messaging-services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Service Bus is a fully managed enterprise message broker with message queues and
5858

5959
Service Bus is a brokered messaging system. It stores messages in a "broker" (for example, a queue) until the consuming party is ready to receive the messages. It has the following characteristics:
6060

61-
- Reliable asynchronous message delivery (enterprise messaging as a service) that requires polling
61+
- Reliable asynchronous message delivery (enterprise messaging as a service) that requires polling. If you're using Service Bus and you need to receive messages without having to poll the queue, you can achieve it by using a **long polling** receive operation using the TCP-based protocols that Service Bus supports.
6262
- Advanced messaging features like first-in and first-out (FIFO), batching/sessions, transactions, dead-lettering, temporal control, routing and filtering, and duplicate detection
6363
- At least once delivery of a message
6464
- Optional ordered delivery of messages

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
title: Azure Service Bus - Browse or peek messages
33
description: Browse and peek Service Bus messages enables an Azure Service Bus client to enumerate all messages in a queue or subscription.
4-
ms.topic: article
4+
ms.topic: concept-article
55
ms.date: 06/08/2023
6+
#customer intent: As a developer, I want to know how to browse or peek messages in a queue or a subscription, for diagnostic and debugging purposes.
67
---
78

89
# Browse or peek messages
@@ -15,6 +16,7 @@ The Peek operation on a queue or a subscription returns at most the requested nu
1516
| Active messages | Yes |
1617
| Dead-lettered messages | No |
1718
| Locked messages | Yes |
19+
| Deferred messages | Yes |
1820
| Expired messages | Might be (before they're dead-lettered) |
1921
| Scheduled messages | Yes for queues. No for subscriptions |
2022

@@ -29,6 +31,11 @@ An expired message is no longer eligible for regular retrieval by any other mean
2931
## Locked messages
3032
Peek also returns messages that were **locked** and are currently being processed by other receivers. However, because Peek returns a disconnected snapshot, the lock state of a message can't be observed on peeked messages.
3133

34+
## Deferred messages
35+
Deferred messages remain in the main queue along with all other active messages (unlike dead-letter messages that live in a subqueue), but they can no longer be received using the regular receive operations. Deferred messages can be discovered via [message browsing](message-browsing.md) if an application loses track of them.
36+
37+
To retrieve a deferred message, its owner is responsible for remembering the **sequence number** as it defers it. Any receiver that knows the sequence number of a deferred message can later receive the message by using receive methods that take the sequence number as a parameter. For more information about sequence numbers, see [Message sequencing and timestamps](message-sequencing.md).
38+
3239
## Peek APIs
3340
Peek works on queues, subscriptions, and their dead-letter queues.
3441

@@ -132,7 +139,7 @@ print("Receive is done.")
132139

133140
---
134141

135-
## Next steps
142+
## Related content
136143
Try the samples in the language of your choice to explore Azure Service Bus features.
137144

138145
- [Azure Service Bus client library samples for .NET (latest)](/samples/azure/azure-sdk-for-net/azuremessagingservicebus-samples/) - - **Sending and receiving messages** sample.

0 commit comments

Comments
 (0)