Mirror of Apache ActiveMQ Artemis
Go to file
Michael André Pearce 3ef98044f8 ARTEMIS-1516 - Ensure JNDI via Tomcat Resource works
Apply fix so that when using JNDI via tomcat resource it works. 
Replace original extract of JNDIStorable taken from Qpid, and use ActiveMQ5's as fits better to address this issue. (which primary use case is users migrating from 5.x)
Refactored ActiveMQConnectionFactory to externalise and turn into reference by StringRefAddr's instead of custom RefAddr which isnt standard.
Refactored ActiveMQDestinations similar
Refactored ActiveMQDestination to remove redundent and duplicated name field and ensured getters still behave the same
2017-12-19 09:20:35 -05:00
.mvn/wrapper ARTEMIS-613 Artemis build enhancements 2016-07-05 15:13:35 -04: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 2017-11-01 00:38:57 -05:00
artemis-cdi-client ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00
artemis-cli ARTEMIS-1463 Fix broker's mBean domain name 2017-12-18 11:30:18 +00:00
artemis-commons ARTEMIS-1516 - Ensure JNDI via Tomcat Resource works 2017-12-19 09:20:35 -05:00
artemis-core-client https://issues.apache.org/jira/browse/ARTEMIS-1565 2017-12-19 11:30:20 +00:00
artemis-core-client-all [maven-release-plugin] prepare for next development iteration 2017-11-01 00:38:57 -05:00
artemis-distribution ARTEMIS-1562 Refactor example documentation 2017-12-15 14:54:16 +00:00
artemis-dto ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00
artemis-features ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00
artemis-hawtio NO-JIRA fixed minor regression(reverted JSON field names) and NullPointer in ActiveMQServerControlImpl 2017-12-12 13:17:02 +00:00
artemis-jdbc-store ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00
artemis-jms-client ARTEMIS-1516 - Ensure JNDI via Tomcat Resource works 2017-12-19 09:20:35 -05:00
artemis-jms-client-all [maven-release-plugin] prepare for next development iteration 2017-11-01 00:38:57 -05:00
artemis-jms-server ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00
artemis-journal ARTEMIS-1531 Adding timedbuffer operations on critical analyzer 2017-11-29 18:09:00 -05:00
artemis-junit ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00
artemis-maven-plugin ARTEMIS-1546 Adding tests to validate compatibility 2017-12-18 22:04:37 -05:00
artemis-native ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00
artemis-protocols ARTEMIS-1516 - Ensure JNDI via Tomcat Resource works 2017-12-19 09:20:35 -05:00
artemis-ra ARTEMIS-1516 - Ensure JNDI via Tomcat Resource works 2017-12-19 09:20:35 -05:00
artemis-rest ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00
artemis-selector ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00
artemis-server ARTEMIS-1565 Fix server schema 2017-12-19 14:01:46 +00:00
artemis-server-osgi ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00
artemis-service-extensions ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00
artemis-tools ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00
artemis-web ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00
artemis-website [ARTEMIS-550] add section on migrating virtual topics and test to validate 2017-12-18 22:25:28 -05:00
docs ARTEMIS-1516 - Ensure JNDI via Tomcat Resource works 2017-12-19 09:20:35 -05:00
etc ARTEMIS-1189 - Fix checkstyle violations post checkstyle upgrade 2017-05-30 13:40:00 -04:00
examples ARTEMIS-1516 - Ensure JNDI via Tomcat Resource works 2017-12-19 09:20:35 -05:00
integration/activemq-spring-integration ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00
scripts NO-JIRA Script I use to rebuild snapshots under the distribution 2017-10-25 17:54:56 -04:00
tests ARTEMIS-1516 - Ensure JNDI via Tomcat Resource works 2017-12-19 09:20:35 -05:00
.gitignore ARTEMIS-1562 Refactor example documentation 2017-12-15 14:54:16 +00: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 ARTEMIS-565 Replace json.org with javax.json 2016-07-25 21:44:57 -04:00
NOTICE NO-JIRA: update notice 2017-03-09 09:07:09 -05:00
README.md Adding OWASP reporting into pom 2016-09-13 17:06:25 +01:00
RELEASING.md NO-JIRA update release documentation 2017-11-09 11:18:48 -05:00
artemis_doap.rdf Update vendor to ASF 2015-05-30 08:37:28 +02:00
mvnw ARTEMIS-613 Artemis build enhancements 2016-07-05 15:13:35 -04:00
mvnw.cmd ARTEMIS-613 Artemis build enhancements 2016-07-05 15:13:35 -04:00
pom.xml ARTEMIS-1546 Adding tests to validate compatibility 2017-12-18 22:04:37 -05: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

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.