When many systems are publishing to RabbitMQ, validated user IDs can help you identify the publisher of a message.
- [Instructor] When we receive a message from RabbitMQ, … we don't know, by default, which user or application … published this message. … This is where validated user IDs come into play. … When publishing a message through RabbitMQ, … you can add a user ID. … This is the username of your application … you use to connect with RabbitMQ. … If the user ID doesn't match the user name … in the connecting string, … the message will be refused. … This means that RabbitMQ validates the user ID … in the message. … That way, the consumer can be sure … that the message originated from a specific user. … To see this in action, … let's open the web application. … In the Exercise Files, … in the chapter three folder, … and then in the 03_03 Begin folder, … you will come find the WebApp. … Go ahead and open the solution. … In Solution Explorer, expand the Controllers folder, … and open the BookingController. … At the bottom of this file, … in the SendMessage method, … we can add the UserId to the basic properties object. …
- 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.