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.
Solution: A simple chat application - RabbitMQ Tutorial
From the course: Learning RabbitMQ
Solution: A simple chat application
(upbeat music) - [Instructor] This is how I implemented the challenge. First, I'll login to my local RabbitMQ instance. In the admin section, I'll add a new user and I'll call it chat. And I've used chat as password as well. Then I need to select the user and set the permission for the virtual host. Okay, then I'll open a Visual Studio and I'll create a new console application. As the application name, I'll just call it RabbitMQ chat. And the first thing we need is the RabbitMQ client package. So I'll right click the project and select manage NuGet packages. Then in the browse section, we can search for RabbitMQ. And the first result should be the client package. And then we install that, and once it's installed, we can start our coding. Okay first, we need a connection factory. So var factory equals new connection factory. And then we can set the URL property of this factory. It should be the URL of your RabbitMQ…
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)
-
-