Using direct exchanges allows you to receive only the messages you are interested in.
- [Narrator] We have a publisher that can send messages … to a consumer. … But our consumer will receive any message … that the publisher sends because we used a fanout exchange. … Let's take a look at direct exchanges, … and how they can be used for basic filtering. … Our current setup is such that any message we put … on the web app exchange will be sent to our email service. … This is because we've bound our email service queue … to a fanout exchange. … Let's add a new message when the user chooses … to cancel their booking. … But we don't want to send these messages … to the email service. … For now, we want to filter out the cancellation messages. … A fanout exchange won't do here, … so we'll use a direct exchange. … Together with a routing key, … we'll be able to accept only the bookings … and leave out the cancellations. … The first thing to do is change our exchange type. … Open the web application which you can find … in the exercise files. … In the Chapter Two folder, in the 02_04 Begin folder, …
- How message-based systems are used
- The AMQP protocol
- Exchange type use cases
- Publishing to RabbitMQ
- Consuming from RabbitMQ
- Filtering messages with direct and topic exchanges
- Setting up and using authentication
- Authorizing and blocking application actions
- Tracking message contents for troubleshooting
Skill Level Beginner
DevOps Foundations: Microserviceswith Laura Stone2h 12m Advanced
What's new in this update1m 18s
1. Get to Know RabbitMQ
2. Basic Usage
3. Advanced Usage
Go further with RabbitMQ2m 35s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.