Learn how to connect to RabbitMQ and publish a message so that it can be routed to consumers later.
- [Instructor] We know how our sample application works, … so let's add some code to send a message. … If it's not already running, start the RabbitMQ service. … In the start menu, go to the RabbitMQ folder, … and click on the start link. … To verify that the service is running, … go to localhost at port 15672, … and if you see your log in screen, … then your RabbitMQ service is running. … To get started, in the web application, … open the Nuget Package Manager. … Click on the Browse tab, and search for rabbitmq.client, … and go ahead and install this package. … In the Controllers folder, … you can open the BookingController, … and add a using statement using RabbitMQ.Client. … The first thing we need is a connection … to the RabbitMQ instance. … To create this, create a new instance … of the ConnectionFactory class. … The factory needs a URI. … This is the uniform resource identifier. … It tells the ConnectionFactory … where our instance is located. … You can set the Uri property, … and create a new instance of a URI. …
- 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.