Skip to content

Commit 780cc65

Browse files
Merge pull request #291546 from spelluru/patch-174699
Added a few details on subscriptions
2 parents 65ebc48 + d3c5c05 commit 780cc65

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/service-bus-messaging/service-bus-queues-topics-subscriptions.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Azure Service Bus messaging - queues, topics, and subscriptions
33
description: This article provides an overview of Azure Service Bus messaging entities (queue, topics, and subscriptions).
44
ms.topic: conceptual
55
ms.custom: devx-track-extended-java
6-
ms.date: 11/15/2023
6+
ms.date: 12/05/2024
77
---
88

99
# Service Bus queues, topics, and subscriptions
@@ -63,10 +63,11 @@ A queue allows processing of a message by a single consumer. In contrast to queu
6363

6464
:::image type="content" source="./media/service-bus-messaging-overview/about-service-bus-topic.png" alt-text="Image showing a Service Bus topic with three subscriptions.":::
6565

66-
The subscriptions can use more filters to restrict the messages that they want to receive. Publishers send messages to a topic in the same way that they send messages to a queue. But, consumers don't receive messages directly from the topic. Instead, consumers receive messages from subscriptions of the topic. A topic subscription resembles a virtual queue that receives copies of the messages that are sent to the topic. Consumers receive messages from a subscription identically to the way they receive messages from a queue.
66+
Publishers send messages to a topic in the same way that they send messages to a queue. But, consumers don't receive messages directly from the topic. Instead, consumers receive messages from subscriptions of the topic. A topic subscription resembles a virtual queue that receives copies of the messages that are sent to the topic. Consumers receive messages from a subscription identically to the way they receive messages from a queue. The message-sending functionality of a queue maps directly to a topic and its message-receiving functionality maps to a subscription. Among other things, this feature means that subscriptions support the same patterns described earlier in this section regarding queues: competing consumer, temporal decoupling, load leveling, and load balancing.
6767

68-
The message-sending functionality of a queue maps directly to a topic and its message-receiving functionality maps to a subscription. Among other things, this feature means that subscriptions support the same patterns described earlier in this section regarding queues: competing consumer, temporal decoupling, load leveling, and load balancing.
68+
Subscriptions can define which messages they want to receive from a topic. These messages are specified in the form of one or more named subscription rules. Each rule consists of a **filter condition** that selects particular messages, and **optionally** contain an **action** that annotates the selected message. By default, a subscription to a topic receives all messages sent to the topic. The subscription has an initial default rule with a true filter that enables all messages to be selected into the subscription. The default rule has no associated action. You can define filters with rules and actions on a subscription so that the subscription receives only a subset of messages sent to the topic.
6969

70+
For more details about filters, [Filters and actions](topic-filters.md).
7071

7172
### Create topics and subscriptions
7273

0 commit comments

Comments
 (0)