Configuring and deploying a Network of Brokers with Apache Karaf

Many times, a single system may not be enough to handle the load of the applications. In this case, scaling is needed to balance load across multiple systems. We can scale applications using embedded ActiveMQ instances in a Network of Brokers (NoB) configuration.

This is different from a master/slave configuration because we will have two active instances rather than an active and passive pair.

Getting ready

By following the same initial setup in the previous recipe, we need to have two instances of Karaf running. We can prove this concept on a single machine or multiple machines. For this recipe, we will again be showing you how to set up two instances on the same machine, which requires ...

Get Apache Karaf Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.