An example of how to use an embedded ActiveMQ broker in Spring Boot: -The example shows how to add JSON string to the queue as well. Prerequisite -Java 8 -Gradle 2.3+ Installation run junit $ gradle test run demo $ gradle bootRun