Take a look at implementation of a Spring asynchronous message producer.
- [Instructor] So now that we've implemented our consumer,…it's time to implement our producer.…Now there's a couple caveats here.…We need to still make sure that Rabbit is up and running.…We also need to make sure that our consumer is running,…and finally we need to make sure that our web app…is running, because we're gonna consume the web service…to push messages out on to the Rabbit queue.…So let's jump into our ID.…The first thing I want you to do is open up the room-clr-app…and specifically the pom.xml file.…Now to this pom we're gonna add a dependency.…
So the dependency that we're gonna add here…is spring-boot-starter-amqp.…And that as you might imagine comes from…org.springframework.boot,…and we'll allow the dependency resolution to occur.…Now we're gonna open up source main resources…and go to our application.properties file.…And once again we're gonna put in two properties.…
The first is amqp.que.name,…and we're gonna use the same name that we did before…which is room-cleaner.…And we're gonna add another one called amqp.exchange.name…
AuthorFrank P Moley III
- Creating a Spring Boot application
- Configuring a Spring Boot app
- Leveraging profiles
- Packaging and running Spring Boot web apps
- Building a command-line application
- Using Spring Boot starters: Spring Data, Spring Security, and more
- Extending Spring Boot
- Using Spring Boot Actuator to monitor app health and other metrics
Skill Level Intermediate
What you need to know4m 14s
1. Boot Camp
2. Web Applications with Spring Boot
3. Command-Line Applications with Spring Boot
4. Using Spring Boot Starters
5. Extending Spring Boot
6. Extending Actuator
Next steps3m 1s
- 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.