Skip to content

Commit 3941af5

Browse files
committed
added information about deferred messages
1 parent 6426502 commit 3941af5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The Peek operation on a queue or a subscription returns at most the requested nu
1515
| Active messages | Yes |
1616
| Dead-lettered messages | No |
1717
| Locked messages | Yes |
18+
| Deferred messages | Yes |
1819
| Expired messages | Might be (before they're dead-lettered) |
1920
| Scheduled messages | Yes for queues. No for subscriptions |
2021

@@ -29,6 +30,11 @@ An expired message is no longer eligible for regular retrieval by any other mean
2930
## Locked messages
3031
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.
3132

33+
## Deferred messages
34+
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.
35+
36+
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).
37+
3238
## Peek APIs
3339
Peek works on queues, subscriptions, and their dead-letter queues.
3440

0 commit comments

Comments
 (0)