Mirror of Apache ActiveMQ Artemis
Go to file
Clebert Suconic 5cd3a47546 This closes #286 2015-12-23 10:58:29 -05:00
.settings ACTIVEMQ6-1 - Initial HornetQ Donation Commit 2014-11-10 10:31:25 -06:00
artemis-boot [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
artemis-cli [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
artemis-commons Fix for missing dependencies at the top level pom 2015-12-22 15:38:51 +00:00
artemis-core-client ARTEMIS-328 Fixing message loss through the bridge 2015-12-21 23:00:52 -05:00
artemis-distribution ARTEMIS-327 Remove native binaries from src distro 2015-12-23 11:38:24 +00:00
artemis-dto Use <target> instead of deprecated <tasks> with maven-antrun-plugin 2015-12-21 21:50:34 -05:00
artemis-features [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
artemis-jms-client Access static members directly 2015-12-21 22:01:21 -05:00
artemis-jms-server [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
artemis-journal [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
artemis-maven-plugin [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
artemis-native [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
artemis-protocols Add missing @Overrides 2015-12-21 22:06:03 -05:00
artemis-ra [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
artemis-rest Access static members directly 2015-12-21 22:01:21 -05:00
artemis-selector [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
artemis-server ARTEMIS-328 Fixing message loss through the bridge 2015-12-21 23:00:52 -05:00
artemis-server-osgi [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
artemis-service-extensions [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
artemis-web [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
artemis-website [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
docs Added documentation for thread-pool-files config 2015-12-17 15:52:50 +00:00
etc Update Java version in example Eclipse config 2015-12-21 21:47:15 -05:00
examples [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
integration [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00
scripts one-test script to help running tests 2015-12-10 16:47:30 -05:00
tests Add missing @Overrides 2015-12-21 22:06:03 -05:00
.gitignore ARTEMIS-163 First pass on the native AIO refactoring 2015-07-29 22:12:03 -04:00
.project More name changes to activemq 2014-11-19 16:01:54 -05:00
CMakeLists.txt ARTEMIS-163 First pass on the native AIO refactoring 2015-07-29 22:12:03 -04:00
LICENSE License updates including Base64 and JSON. 2015-03-16 14:30:28 +00:00
NOTICE ACTIVEMQ6-1 Artemis rename 2015-04-27 17:48:02 -04:00
README.md ARTEMIS-327 Remove native binaries from src distro 2015-12-23 11:38:24 +00:00
RELEASING.md extraTests version bump and RELEASING note 2015-12-21 09:48:14 +00:00
artemis_doap.rdf Update vendor to ASF 2015-05-30 08:37:28 +02:00
pom.xml Fix for missing dependencies at the top level pom 2015-12-22 15:38:51 +00: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.

then you will need to set the following maven options, on Linux by

$ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=512m"

and the finally run the examples by

$ mvn verify

You can also run individual examples by running the same command from the directory of which ever example you want to run. NB for this make sure you have installed examples/common.

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

Artemis on Apache Karaf

feature:repo-add mvn:org.apache.activemq/artemis-features/1.1.1-SNAPSHOT/xml feature:install artemis-core artemis-hornetq artemis-stomp artemis-mqtt artemis-amqp