An overview of the Azure Service BusÂ
Azure Service Bus is a multitenant cloud service for connecting distributed applications by providing different types of communication mechanism. Applications can run on-cloud or they can run on-premise.
When using Azure Service Bus, you create a namespace and then you define the communication rules within that namespace by using different communication mechanisms as follows:
- Queues: This is a one-directional communication between apps. The queue stores messages received from applications until another application receives them.
- Topics: This is a one-directional communication based on subscriptions.
- Relays: This is a bi-directional communication. Here the message is not stored but is directly passed to the destination application.
Queues
When using queues, an application (sender) sends a message to a Service Bus queue and a receiver application reads the message from that queue at a later time (FIFO).
Each message sent to the queue is composed of a set...