MENU

Fun & Interesting

RabbitMQ- Tutorial 12b - Routing Implementation in C#

jumpstartCS 6,605 lượt xem 3 years ago
Video Not Working? Fix It Now

00:00 - 00:29 - Introduction
00:30 - 08:44 - Routing using the Direct exchange
08:45 - 17:20 - Routing using the Topic exchange

In this video we implement the more complicated routing examples commonly encountered when using RabbitMQ. The simple pub sub pattern will only get us so far but RabbitMQ allows more flexibility by using the Topic Exchange, Direct Exchange and their features. By combining these exchange types with smart usage of binding and routing keys we can achieve smart routing in our system. This type of routing is often essential to be used in Microservices systems where many services might be interested in the messages we send using RabbitMQ.

In this video we will implement these using C# and the official .NET RabbitMQ Client. First the simple routing and then moving on to use the topic exchange.

---------------------------------------------------------------------------------------------------------------------------
GitHub Sample Code Links

Basic Routing:
https://github.com/delaneybrian/jumpstartCS-rabbitmq-csharp/tree/master/4-Routing

Topics:
https://github.com/delaneybrian/jumpstartCS-rabbitmq-csharp/tree/master/5-Topics
---------------------------------------------------------------------------------------------------------------------------

RabbitMQ is the most widely deployed open source message broker. A message broker is an intermediary computer program module that translates a message from the formal messaging protocol of the sender to the formal messaging protocol of the receiver.

Using RabbitMQ allows us to create a highly decoupled micro services system easily. It can be deployed on many clouds as well as on premise. It comes with many interesting features and is even extendable by the use of plugins.
---------------------------------------------------------------------------------------------------------------------------

Check out our Azure Service Fabric Tutorial for developing highly reliable distributed applications:

https://www.youtube.com/playlist?list=PLalrWAGybpB_dBdtvLXUjOFp78X97lren

Check out our Cassandra Tutorial for a distributed and highly available solution for your applications:

https://www.youtube.com/playlist?list=PLalrWAGybpB-L1PGA-NfFu2uiWHEsdscD

Comment