JMS with Apache ActiveMQ

Especially with today's SOA/EDA architectures, a message broker is often a core architecture component. Apache ActiveMQ is the most popular open-source message broker: it's fast, reliable and it supports all the features required for enterprise deployment. This course teaches you how to use the JMS API to interact with ActiveMQ. It also discusses advanced features and configuration options for ActiveMQ itself.


No public sessions are currently scheduled. We will be pleased to set up an on-site course or to schedule an extra public session (in case of a sufficient number of candidates). Interested? Please let us know.

Intended for

Java developers and architects who are starting to use JMS for asynchronous messaging or existing JMS users who are considering to start using Apache ActiveMQ.


Participants need to be able to work with XML (see course XML fundamentals course) and have some basic Java development skills (see course Java programming). Having some basic knowledge of JDBC (see course JDBC) and Spring (see course Spring) would be an advantage.

Main topics

  • Introduction to JMS and ActiveMQ
  • JMS API: ConnectionFactory, Connection, Session, Topic, Queue, ...
  • ActiveMQ: Architecture and overview of features
  • Getting started with JMS and ActiveMQ
  • Installing ActiveMQ
  • Connecting to a queue and sending/receiving messages
  • Connecting to a topic and sending/receiving messages
  • ActiveMQ configuration and features
  • ActiveMQ configuration: In-memory broker, transport & wire protocols, persistence, ...
  • Features: Virtual destinations, message groups, wildcards, JMS streams, EIP (Camel), ...
  • Running a distributed message broker
  • Network of brokers (multicast and point-to-point)
  • Master/slave configurations

Training method

Classical instruction with exercises.


1 day.

Course leader