- It is a fully managed integration message broker.
- It is most commonly used to decouple applications and services from each other.
- It is a platform for asynchronous data and state transfer.
- A message is in binary format.
- Use Service Bus when handling high-value messages that cannot be lost or duplicated.
- Service Bus is a brokered messaging system that stores messages in a "broker" (Queues For Example).
- It keeps the message until the consuming party is ready to receive the messages.
Messaging Scenarios
- Messaging: transfer business data, such as sales or purchase orders, journals, or inventory movements.
- Decouple applications: improve reliability and scalability of applications and services (client and service do not have to be online at the same time).
- Topics and subscriptions: enable 1:n relationships between publishers and subscribers.
- Message sessions: implement workflows that require message ordering or message deferral.
Concepts
Namespaces
- A namespace is a scoping container for all messaging components.
- Multiple queues and topics can reside within a single namespace.
- Namespaces often serve as application containers.
Queues
- Messages are sent to and received from queues which are often used for point-to-point communication.
- Queues enable you to store messages until the receiving application is available to receive and process them.
- Messages in queues are ordered and timestamped on arrival.