Mirror of Apache ActiveMQ Artemis
Go to file
jbertram d6bbc9ce35 ARTEMIS-531 upgrade Jolokia 2016-05-23 18:26:21 -04:00
.settings
artemis-boot
artemis-cli ARTEMIS-533 change HTTP port from CLI 2016-05-23 18:26:21 -04:00
artemis-commons
artemis-core-client
artemis-distribution
artemis-dto
artemis-features ARTEMIS-521 - OSGi support - add unit test 2016-05-19 11:53:31 -05:00
artemis-jdbc-store
artemis-jms-client ARTEMIS-525 Interrupted Thread should throw JMS Exceptions over the JMS layer 2016-05-17 20:28:40 -04:00
artemis-jms-server
artemis-journal Rework journal reclaimer 2016-05-23 18:25:23 -04:00
artemis-maven-plugin
artemis-native
artemis-protocols ARTEMIS-523 re-order SASL mechs 2016-05-18 13:49:12 -04:00
artemis-ra
artemis-rest
artemis-selector
artemis-server Make a few tests more robust 2016-05-20 11:24:55 -05:00
artemis-server-osgi
artemis-service-extensions
artemis-web
artemis-website
docs a few tiny doc typos 2016-05-23 13:31:00 -04:00
etc
examples
integration
scripts
tests new logging.properties and trace format 2016-05-20 12:34:04 -05:00
.gitignore
.project
CMakeLists.txt
LICENSE
NOTICE
README.md
RELEASING.md
artemis_doap.rdf
pom.xml ARTEMIS-531 upgrade Jolokia 2016-05-23 18:26:21 -04:00

README.md

ActiveMQ Artemis

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

Source

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

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.

Documentation

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

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

Examples

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