Exchange Bindings¶
Bindings connect RabbitMQ entities together.
ServiceBus.Core models these relationships through descriptors.
graph LR
Exchange --> Queue
The simplest binding connects an exchange directly to a queue.
Exchange To Queue¶
graph LR
OrdersExchange --> OrdersQueue
This is the most common topology.
Typical use cases:
- business events;
- command processing;
- workflow execution.
Exchange To Multiple Queues¶
graph LR
OrdersExchange --> ERPQueue
OrdersExchange --> CRMQueue
OrdersExchange --> AuditQueue
Useful when multiple systems need to receive the same message.
Exchange To Exchange¶
graph LR
OrdersExchange --> IntegrationExchange
IntegrationExchange --> OrdersQueue
This pattern enables topology composition and message distribution.
Exchange Chains¶
graph LR
ExchangeA --> ExchangeB
ExchangeB --> ExchangeC
ExchangeC --> Queue
Exchange chains are particularly useful in integration platforms where routing concerns are separated from business concerns.
Descriptor Representation¶
These relationships are typically represented through:
- ExchangeDescriptor
- QueueDescriptor
- ExchangeBoundDescriptor
- QueueBoundDescriptor
- BinderDescriptor
The Reference section documents these descriptors in detail.