Chapter 10. Deploying ActiveMQ in the enterprise

 

This chapter covers

  • Configuring ActiveMQ for high availability
  • Understanding networks of brokers
  • Scaling the ActiveMQ via configuration

The first three parts of this book covered how to use ActiveMQ as a messaging and integration platform. This chapter is the first to cover advanced ActiveMQ configuration, so if you’re new to messaging or ActiveMQ, you should read the first three parts before reading this chapter.

This chapter will focus on the enterprise deployment of ActiveMQ message brokers, the type of deployments that are used in production environments where applications need to be available without message loss at a 24/7 service level. This chapter will demonstrate how to configure ActiveMQ for high availability so that an ActiveMQ deployment can survive machine or network loss.

For many organizations, application deployment is global, spanning multiple offices across large geographical areas. So we’ll show you how ActiveMQ can be used as a reliable global information conduit by using the technique of store and forward to pass messages from one geographic location to another.

Finally, we’ll examine deploying ActiveMQ for massively concurrent applications, where large numbers of concurrent connections and queues are a requirement. We’ll examine the different configuration and deployment options of ActiveMQ and look at the pros and cons for each one.

10.1. Configuring ActiveMQ for high availability

10.2. How ActiveMQ passes messages across a network of brokers

10.3. Deploying ActiveMQ for large numbers of concurrent applications

10.4. Summary