Working with Apache ActiveMQ

Apache ActiveMQ is a powerful messaging provider that supports many cross-language clients and protocols. In today’s environments, ActiveMQ provides a means for delivering messages reliably between diverse systems using a series of message brokers and queues.

This course provides a solid introduction to the theory and practice of applying ActiveMQ (AMQ) for brokered, reliable messaging. Detailed hands-on labs demonstrate installation, configuration, monitoring, and control of AMQ brokers. Examples of JMS functionality cover publish-subscribe and queue based messaging, persistence, and transactional messages. A variety of AMQ deployment options and topology options are also reviewed.


Two days (14 hours)

Target Audience

Business Solutions Architects and Java Application Programmers.


Knowledge and modest proficiency with Java, experience with application development using Eclipse IDE, and basic understanding of distributed computing concepts.

Course Objectives

After completing this class, you will be able to:

  • Install ActiveMQ and verify that it was installed successfully.
  • Install a custom instance of ActiveMQ.
  • Issue broker-control commands to list brokers, query a broker, and browse a queue.
  • View and debug the state of message flows in a development environment.
  • Safely listen behind firewalls for messages that work like commands.
  • Configure a JMX agent console to monitor, test, and control an AMQ implementation.
  • Configure an ActiveMQ broker to use different logging levels.
  • Configure a TCP, HTTP, SSL, or VM connector to expose broker connectivity to clients.
  • Configure a Network connector to enable brokers to communicate with other brokers.
  • Configure an ActiveMQ broker to support Java clients, Spring clients, client logging, and client transactions/acknowledgments.
  • Configure a set of MQ brokers to handle a simple high availability, master/slave, failover, or load-balanced implementation scenario.
  • Implement Virtual Destinations, Conduit Subscriptions, Message Groups, and transport-level security.
  • Describe how messages are dispatched and controlled.

Course Agenda

  • Feature Summary
  • Installation and Management
  • Management Tools
  • JMS Basics
  • Destinations
  • Transport and Network Connectors
  • Persistence
  • High Availability
  • JMS Client API
  • Message Acknowledgements and Transactions
  • Virtual Destinations
  • Messaging Patterns
  • Broker Networks and Topology
  • Security
  • Other Clients
  • Web Applications
  • Tuning
  • Other Utilities