Mirror of Apache ActiveMQ Artemis
Go to file
Justin Bertram b48037a1e6 ARTEMIS-3764 wrong CONNACK return code for MQTT5
This bug is causing tests in o.a.a.a.t.i.m.s.c.ConnectTestsWithSecurity
to fail.

This commit fixes the problem by setting the session's version earlier
in the logic handling the CONNECT packet so that the proper CONNACK
return code can be supplied to the remote client in case of
authentication failure.
2022-04-06 17:02:19 -04:00
.github NO-JIRA: use install on examples build otherwise it needs to download remote snapshot during javadoc build, which may not exist and so fails 2022-01-20 15:55:40 +00: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 2022-03-22 13:34:58 -04:00
artemis-cdi-client [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-cli ARTEMIS-3744 NPE with empty security-manager config in bootstrap.xml 2022-03-30 11:57:50 -05:00
artemis-commons ARTEMIS-3757 - allow system and env var substution of properties config, respect order of file loaded properties and add generic enum converter 2022-04-06 12:04:25 +02:00
artemis-core-client ARTEMIS-3757 - allow system and env var substution of properties config, respect order of file loaded properties and add generic enum converter 2022-04-06 12:04:25 +02:00
artemis-core-client-all [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-core-client-osgi [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-distribution [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-docker ARTEMIS-3749 e2e-tests improvements 2022-03-30 11:48:05 -04:00
artemis-dto [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-features [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-hawtio [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-jakarta-client [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-jakarta-client-all [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-jakarta-ra [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-jakarta-server [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-jakarta-service-extensions [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-jdbc-store [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-jms-client [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-jms-client-all [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-jms-client-osgi [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-jms-server [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-journal [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-junit [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-maven-plugin [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-protocols ARTEMIS-3764 wrong CONNACK return code for MQTT5 2022-04-06 17:02:19 -04:00
artemis-quorum-api [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-quorum-ri [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-ra [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-rest [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-selector [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-server ensure temp files are off the base class temp folder rule root to get cleaned up post test 2022-04-06 12:04:25 +02:00
artemis-server-osgi [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-service-extensions [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-web [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-website [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
docs ARTEMIS-3733 - Destination cache size too small for OpenWire clients 2022-03-30 11:15:25 -05:00
etc ARTEMIS-3341 update checkstyle to latest + update code 2021-06-11 12:16:04 +01:00
examples ARTEMIS-3752 Upgrade Spring Framework to 5.3.18 for examples and tests 2022-04-04 10:59:14 +02:00
integration/activemq-spring-integration [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
scripts NO-JIRA Update on cherry-pick-report 2022-01-24 10:33:42 -05:00
tests ARTEMIS-3757 - allow system and env var substution of properties config, respect order of file loaded properties and add generic enum converter 2022-04-06 12:04:25 +02:00
.asf.yaml NO-JIRA disable merge and squash buttons on github 2020-11-16 10:30:07 -05:00
.gitignore NO-JIRA Adding vim .swp and .swo files into .gitignore 2021-08-09 14:21:39 -04:00
.project More name changes to activemq 2014-11-19 16:01:54 -05:00
.travis.yml ARTEMIS-3420: require Java 11+, resolve some issues from doing so and tidy up some stale bits as a result 2021-11-09 11:02:51 -05:00
LICENSE ARTEMIS-565 Replace json.org with javax.json 2016-07-25 21:44:57 -04:00
NOTICE NO-JIRA Notice update to 2022 2022-01-06 15:31:01 -05:00
README.md ARTEMIS-3474 - replace whitelist with allowlist in management.xml 2021-09-16 17:19:02 -05:00
RELEASING.md NO-JIRA updating git clone URI on Release instructions 2022-03-22 12:25:44 -04:00
artemis_doap.rdf Update vendor to ASF 2015-05-30 08:37:28 +02:00
pom.xml ARTEMIS-3752 Upgrade Spring Framework to 5.3.18 2022-04-01 12:19:02 -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.

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.

Documentation

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.

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.

Bugs

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