SpringBoot is the trending way of building applications and microservices.
ActiveMQ is one of the most popular message brokers.
Did you know that with SpringBoot you can have embedded ActiveMQ instances?
In this In-Memory ActiveMQ and SpringBoot Example Project, I am demonstrating a very basic usage of these technologies. Read the comments inside the source files and the wiki documentation of the project for more info. Pay attention to the @EnableJms annotation which is widely misunderstood.
Click here -> SpringBoot-JMS-ActiveMQ-InMemory Project
Hope this helps.