From the course: Learning RabbitMQ
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Consuming from a RabbitMQ exchange - RabbitMQ Tutorial
From the course: Learning RabbitMQ
Consuming from a RabbitMQ exchange
- [Instructor] We have a web application to book fictional tours and it's sending messages to RabbitMQ. Let's write a small console application that can pretend to be the service that will send out confirmation emails. In Visual Studio create a new project and select the .NET Core Console App template. Give your project a name. I'll call mine ExploreCalifornia.EmailService and click on the Create button. In the Solution Explorer right-click on your project and select Manage NuGet Packages. And in the Browse tab search for RabbitMQ.Client. You can select a package and click on the install button and confirm the installation. In the Program.cs file you can add a using RabbitMQ.Client statement. Now we need a connection the to RabbitMQ instance. You can find the necessary code in the Exercise Files. Open the Ch_02 folder and open the connectionCode.txt file. You can copy paste the necessary code over to your Program.cs…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Introducing the sample application2m 37s
-
(Locked)
Publish to a RabbitMQ exchange4m 21s
-
(Locked)
Consuming from a RabbitMQ exchange5m 54s
-
(Locked)
Filter messages with direct exchanges5m 40s
-
(Locked)
Filter messages with topic exchanges7m 31s
-
(Locked)
Filter messages with headers exchanges10m 11s
-
(Locked)
Challenge: A simple chat application1m 19s
-
(Locked)
Solution: A simple chat application6m 50s
-
(Locked)
Challenge: Chatrooms1m 25s
-
(Locked)
Solution: Chatrooms2m 42s
-
(Locked)
-
-