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
Copy file name to clipboardExpand all lines: articles/service-bus-messaging/compare-messaging-services.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ Service Bus is a fully managed enterprise message broker with message queues and
58
58
59
59
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:
60
60
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.
62
62
- Advanced messaging features like first-in and first-out (FIFO), batching/sessions, transactions, dead-lettering, temporal control, routing and filtering, and duplicate detection
Copy file name to clipboardExpand all lines: articles/service-bus-messaging/message-browsing.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,9 @@
1
1
---
2
2
title: Azure Service Bus - Browse or peek messages
3
3
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
5
5
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.
6
7
---
7
8
8
9
# Browse or peek messages
@@ -15,6 +16,7 @@ The Peek operation on a queue or a subscription returns at most the requested nu
15
16
| Active messages | Yes |
16
17
| Dead-lettered messages | No |
17
18
| Locked messages | Yes |
19
+
| Deferred messages | Yes |
18
20
| Expired messages | Might be (before they're dead-lettered) |
19
21
| Scheduled messages | Yes for queues. No for subscriptions |
20
22
@@ -29,6 +31,11 @@ An expired message is no longer eligible for regular retrieval by any other mean
29
31
## Locked messages
30
32
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.
31
33
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
+
32
39
## Peek APIs
33
40
Peek works on queues, subscriptions, and their dead-letter queues.
34
41
@@ -132,7 +139,7 @@ print("Receive is done.")
132
139
133
140
---
134
141
135
-
## Next steps
142
+
## Related content
136
143
Try the samples in the language of your choice to explore Azure Service Bus features.
137
144
138
145
-[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