O'Reilly logo

Apache Karaf Cookbook by Heath Kesler, Johan Edstrom, Jamie Goodyear, Achim Nierbeck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

  1. 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:

  2. Now that we have the features available, we can list them using the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required