This document provides an overview of Windows Azure Service Bus including:
- How it provides brokered messaging with queues and topics as well as relays for synchronous communication.
- How it uses AMQP 1.0 as a messaging protocol and supports multiple languages and platforms.
- How Notification Hubs can be used to send push notifications to multiple client platforms.
6. Windows Azure Service Bus
Line of
Business
Application
Event
Aggregator
Collaboration
Site
…
Household
Appliance
Phone,
Tablet, PC
Point of Sale
Kiosk
SaaS Cloud
Service
Solution
Queues Topics Relays Notification Hubs
Access Control
Namespaces
Multi-tenant Cloud Services
29. • One-Time Set Up
• Create a Notification Hub in Service Bus
• It contains the credentials required by the Platform
Notification Service (PNS)
• Register
• The client app retrieves its current handle from the PNS
• Client app creates (or updates) a registration on the
Notification Hub with the current handle
• Send Notification
• The app back-end sends a message to the Notification Hub
• Notification Hub pushes it to all PNS
APNs
WNS
Service Bus
Notification Hub
App back-end
Windows Phone/
iOS/Android
Windows Store
app
GCM
30.
31.
32.
33.
34.
35. • Browsing and Management
• Paired Namespaces
• Retry Policies
• Event-Based Model
• Diagnostics
36. QueueClient queueClient = QueueClient.Create("myQ");
var message = queueClient.Peek(); // does not lock the message
var message = queueClient.Peek(fromSequenceNumber: 4); // specific starting
point
var messages = queueClient.PeekBatch(messageCount: 10); // supports
batching
38. Service Bus
Namespace
Web / Frontend
Roles
Service Bus
Paired Namespace
Syphon enabled
Worker / Backend
Roles
App back-end
39.
40. • Relayed and Brokered Messaging
• Queues, Topics, and Subscriptions
• Service Bus Authentication and Authorization with the Access
Control Service
• Shared Access Signature Authentication with Service Bus
• Windows Azure Notification Hubs Overview
• AMQP 1.0 Support in Windows Azure Service Bus
• Service Bus Class Library
Notes de l'éditeur
INSERT YOUR BIO HERE
Use Manage NuGet Packages to install Service Bus messaging in Visual Studio project