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 - Spring Tutorial
From the course: Spring: Messaging with JMS
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Connection configuration practices with application properties4m 41s
-
(Locked)
Connection configuration using SingleConnectionFactory6m 8s
-
(Locked)
Connection configuration using CachedConnectionFactory2m 24s
-
(Locked)
Transaction management with Spring JMS (transactions)4m 24s
-
(Locked)
Transaction management with dead letter queue7m 7s
-
(Locked)
-
-