9.1 Configure JMS
Problem
You want to use JMS in a Spring Boot application and need to connect to the JMS broker.
Solution
Spring Boot supports auto-configuration for ActiveMQ1 and Artemis.2 Adding one of those JMS Providers together with setting some properties in, respectively, the spring.activemq and spring.artemis namespace will be all you need.
How It Works
By declaring a dependency of the JMS provider of your choice, Spring Boot will automatically configure the ConnectionFactory and strategy to look up destinations, the DestinationResolver, for your environment. This can also be done ...