Installing Apache ActiveMQ modules into Apache Karaf
Installing an ActiveMQ broker into a Karaf instance requires very little effort. This recipe will show you how easy it is to get ActiveMQ embedded and running. In order to install the ActiveMQ broker in Karaf, we first need to add the feature URL.
How to do it…
Out of the box, Karaf does not come with ActiveMQ installed. But do not fret, for Karaf makes it very easy to install it. The steps are as follows:
- First we need to install the XML features by adding the repo for the version we expect to use. This can be done using the following command:
feature:repo-add activemq <version>
The following screenshot shows us how to start:
- Now that we have the features available, we can list them using the following command:
feature:list | grep activemq
The screenshot should look like the following:
There are several options for installing only what we need. If your application is connecting to any ActiveMQ instance, then all you need in the...