To create a project that will demonstrate highlighted Artemis (and consequently JMS 2.0) features, in the most simplest form, using Spring (and Sprint Boot) using Spring's provided JMS tooling.
These are very simple examples loosely based on the provided examples in the Artemis project, in the examples folder.
Instead of using the manual (e.g. plumbing) setup in the examples, the goal of this project is to provided simple and (Spring) autoconfigured solutions to these examples using Spring.
Each example can be run using the mvn verify
command. This is akin to the existing Artemis examples, but in this project using Spring.
Alternatively, one can start the broker manually using <example folder>/target/serverX/bin/artemis run
and then running the main method in the example class however is desired.
You first first need to clone this project onto their machine using git clone https://github.com/dshunfen/spring-boot-artemis-examples.git
.
This can be done on the command line itself, with STS, or via another IDE:
One can import this project into their local Eclipse/STS IDE workspace. That is, ideally in Spring Tool Suite (STS).
This can be done by downloading and installing STS:
- Click
File > Import
- Type Maven in the search box under
Select an import source
: - Select
Existing Maven Projects
- Click
Next
- Click
Browse
- Navigate to the folder that is the root of the Maven project containing the
pom.xml
file - Click
Next
- Click
Finish