Mirror of Apache ActiveMQ Artemis

Clone this repo:
  1. b61ec81 ARTEMIS-4308 Adding Soak tests for Paging and JDBC by Clebert Suconic · 15 hours ago main
  2. 484934b NO-JIRA ArtemisDependencyScanPlugin not working with targetDirectory by Clebert Suconic · 34 hours ago
  3. e9b5931 ARTEMIS-4278 Removing System.out left by accident by Clebert Suconic · 15 hours ago
  4. cea9ff6 ARTEMIS-4259 JMS consumer + FQQN + selector not working by Clebert Suconic · 3 days ago
  5. f03b775 NO-JIRA fixing intermittent test failure by Clebert Suconic · 2 days ago

ActiveMQ Artemis

This file describes some minimum ‘stuff one needs to know’ to get started coding in this project.


For details about the modifying the code, building the project, running tests, IDE integration, etc. see our Hacking Guide.

Build Status

Build Status: Build Status

Building the ASYNC IO library

ActiveMQ Artemis provides two journal persistence types, NIO (which uses the Java NIO libraries), and ASYNCIO which interacts with the linux kernel libaio library. The ASYNCIO journal type should be used where possible as it is far superior in terms of performance.

ActiveMQ Artemis does not ship with the Artemis Native ASYNCIO library in the source distribution. These need to be built prior to running “mvn install”, to ensure that the ASYNCIO journal type is available in the resulting build. Don‘t worry if you don’t want to use ASYNCIO or your system does not support libaio, ActiveMQ Artemis will check at runtime to see if the required libraries and system dependencies are available, if not it will default to using NIO.

To build the ActiveMQ Artemis ASYNCIO native libraries, please follow the instructions in the artemis-native/README.


Our documentation is always in sync with our releases at the Apache ActiveMQ Artemis website.

Or you can also look at the current main version on github.


To run an example firstly make sure you have run

$ mvn -Prelease install

If the project version has already been released then this is unnecessary.

Each individual example can be run using this command from its corresponding directory:

$ mvn verify

If you wish to run groups of examples then use this command from a parent directory (e.g. examples/features/standard):

$ mvn -Pexamples verify

Recreating the examples

If you are trying to copy the examples somewhere else and modifying them. Consider asking Maven to explicitly list all the dependencies:

# if trying to modify the 'topic' example:
cd examples/jms/topic && mvn dependency:list

Open Web Application Security Project (OWASP) Report

If you wish to generate the report for CCV dependencies, you may run it with the -Powasp profile

$ mvn -Powasp verify

The output will be under ./target/dependency-check-report.html for each sub-module.


Issues are tracked at https://issues.apache.org/jira/projects/ARTEMIS/