From the course: Spring: Messaging with JMS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Connection configuration practices with application properties

Connection configuration practices with application properties - Spring Tutorial

From the course: Spring: Messaging with JMS

Start my 1-month free trial

Connection configuration practices with application properties

- [Narrator] Configuring connections in our application currently has been done, pretty much, through a configuration class. With Spring Boot we can provide configurations several ways. We can do this through the application yml properties file. We can do this through a JMS spec provider. Implementations like using the ActiveMQ connection factory or we can do this through Spring's single connection factory. We can also use Spring's Caching Connection Factory. In ActiveMQ, API also provides a pooled connection factory, but we won't be using it here, because we want to focus on Spring's API's. Spring provides sample application yml and application properties that you can use throughout the Spring boot for connection configurations. I've provided a few links for further reference, especially for configuration, because there are a lot, and there really isn't any way I could sit and list them all. To configure a project to use configuration though the application yml, we will open our…

Contents