-
Notifications
You must be signed in to change notification settings - Fork 10
Casing in point: Topics and topics, Subscriptions and subscriptions
Pete Smith edited this page Jul 31, 2014
·
6 revisions
AzureNetQ is based on Service Bus for windows, and inspired/forked from it's parent project EasyNetQ which was based on RabbitMQ.
Unfortunately, both Service Bus and EasyNetQ define their own terminology, and in some cases there are clashes. To resolve these, library terminology will always start with a lower case letter, and Service Bus terms will use an upper case letter.
###EasyNetQ/AzureNetQ terms
- topics - topic based routing allows a subscriber to filter messages based on multiple criteria. A topic is a list of words delimited by dots that are published along with the message.
- subscriptions - a subscription to a queue is made by calling Subscribe() or SubscribeAsync(). A subscription id is a unique identifier that allows the library to segment consumers so that they are only competing between those with the same subscription id.
###Service Bus terms In the context of Service Bus, both Subscriptions and Topics are messaging entities within the service bus broker.
- Topics - Messages are sent to a Topic in the same way they are sent to a Queue, but messages are not received from the Topic directly. Instead, they are received from Subscriptions.
- Subscriptions - A Subscription belongs to a Topic and resembles a virtual queue that receives copies of the messages that are sent to the Topic. Messages are received from a Subscription identically to the way they are received from a Queue.
So remember, lower case denotes an EasyNetQ/AzureNetQ term, and upper case represents a Service Bus one.
- Quick Start
- Introduction
- Casing in point: Topics and topics, Subscriptions and subscriptions
- Installing AzureNetQ
- Connecting to Service Bus
- Logging
- Publish
- Subscribe
- Request Response
- Send Receive
- Topic Based Routing
- Controlling Queue names
- Polymorphic Publish and Subscribe
- Scheduling Events with Future Publish
- Auto Subscriber
- Non Generic Publish & Subscription Extension Methods
- Replacing AzureNetQ Components
- Using a DI Container