Difficulty: Beginner
Estimated Time: 10 minutes

You will see how to create an Artemis broker and start processing messages

We have download a version of Artemis broker and started it.

Before we finish we should close it down gracefully /var/lib/artemisBroker/bin/artemis stop

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Artemis broker within ubuntu

Step 1 of 4

Download the broker

We need to get an artemis download but for now I do not have a way to detect the latest version and get that. You could change the following command to get the latest if you know which one it is.

wget -O apache-artemis-2.6.2-bin.tar.gz "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=activemq/activemq-artemis/2.6.2/apache-artemis-2.6.2-bin.tar.gz"

We can now expand the zip file

tar xf apache-artemis-2.6.2-bin.tar.gz

And now we should have the exploded folder with artemis within

ls -l

Finally we can now set the environment variable to point to ARTEMIS

export ARTEMIS_HOME=`pwd`/apache-artemis-2.6.2

We will now create a broker instance in the next step