Master Spring Boot auto-configuration
This is the sample app used during the Master Spring Boot auto-configuration talk.
This repository contains one commit per step to reach a complete auto-configuration. Refer to the commit messages for more information on what each step does.
Note
|
The slides of the session are available on speakerdeck. |
Building and running
Some of these steps require a local HornetQ installation. You can download HornetQ from the official web site.
You can start with a basic example that uses Spring Boot’s HornetQ support with the following command in this repository:
git checkout 7ef8191
Note
|
This demo requires a <queue name="testQueue">
<entry name="/queue/testQueue"/>
</queue> |
Once you reach the point where the official HornetQ support is removed, you can either checkout snicoll/auto-config-demo and build that locally (mvn clean install
) to get a customized 1.2.4-BUILD.SNAPSHOT
) or exclude the HornetQAutoConfiguration
(see DemoApplication
).