3. Service Bus - Overview
Windows Azure Service Bus
Queue 1
Publisher
Topic 1
Topic 2
Service
Queue 2
Web-site
Relay
Mobile
• Queues – allow one-directional communication.
Each queue acts as an intermediary (sometimes called a broker) that stores sent messages until
they are received.
• Topics – provide one-directional communication using subscriptions.
Like a queue, a topic acts as a broker, but it allows each subscription to see only messages that
match specific criteria.
• Relays – provide bi-directional communication.
Unlike queues and topics, a relay doesn't store in-flight messages-it's not a broker. Instead, it
just passes them on to the destination application.
Confidential
2
4. What are Service Bus Queues?
•
•
•
Communication between web and worker roles in a multi-tier Windows Azure application
Communication between on-premises apps and Windows Azure hosted apps in a hybrid
solution
Communication between components of a distributed application running on-premises in
different organizations or departments of an organization
Confidential
3
5. What are Service Bus Topics and Subscriptions?
•
•
•
Topics and subscriptions provide a one-to-many form of communication, using a
publish/subscribe pattern
A topic subscription resembles a virtual queue that receives copies of the messages that
were sent to the topic. You can optionally register filter rules for a topic on a persubscription basis, which allows you to filter/restrict which messages to a topic are
received by which topic subscriptions.
Service Bus topics and subscriptions enable you to scale to process a very large number of
messages across a very large number of users and applications.
Confidential
4
6. What is the Service Bus Relay?
The Service Bus Relay service enables you to build hybrid applications that run
in both a Windows Azure datacenter and your own on-premises enterprise
environment, without having to open up a firewall connection or requiring
intrusive changes to a corporate network infrastructure.
Confidential
5