Mirror of Apache ActiveMQ Artemis
Go to file
iliya 99302b1935 ARTEMIS-3753 Prevent sending message to internal queues on mirror
In cluster configuration messages could be routed to internal queues for
further delivering on different broker. We need to check that before
sending to SNF, otherwise message can stuck on target server and will
never receive ACK.

co-author: Clebert Suconic

Discusssions on https://github.com/apache/activemq-artemis/pull/4012 and https://github.com/apache/activemq-artemis/pull/4038
2022-04-23 10:13:21 -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-3761 Improve page cleanup to remove messages in the middle of the stream as well 2022-04-07 10:33:08 -04:00
artemis-commons ARTEMIS-3778 Streamline Expiration Reaping 2022-04-14 13:04:51 -04:00
artemis-core-client [ARTEMIS-3756]: Enabling extra parameters to be passed by the URI. 2022-04-21 19:00:55 -04:00
artemis-core-client-all ARTEMIS-3782: use existing managed version for maven-shade-plugin uses 2022-04-20 10:33:57 +01: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 ARTEMIS-3765 Display validated user in Hawtio 2022-04-19 09:49:31 -05:00
artemis-jakarta-client ARTEMIS-3783: rationalise config for alternate jakarta spec versions to simplify and align their use 2022-04-20 10:57:32 +01:00
artemis-jakarta-client-all ARTEMIS-3783: rationalise config for alternate jakarta spec versions to simplify and align their use 2022-04-20 10:57:32 +01:00
artemis-jakarta-ra ARTEMIS-3783: rationalise config for alternate jakarta spec versions to simplify and align their use 2022-04-20 10:57:32 +01:00
artemis-jakarta-server ARTEMIS-3783: rationalise config for alternate jakarta spec versions to simplify and align their use 2022-04-20 10:57:32 +01:00
artemis-jakarta-service-extensions ARTEMIS-3783: rationalise config for alternate jakarta spec versions to simplify and align their use 2022-04-20 10:57:32 +01:00
artemis-jdbc-store [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
artemis-jms-client [ARTEMIS-3756]: Enabling extra parameters to be passed by the URI. 2022-04-21 19:00:55 -04:00
artemis-jms-client-all ARTEMIS-3782: use existing managed version for maven-shade-plugin uses 2022-04-20 10:33:57 +01: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-3753 Prevent sending message to internal queues on mirror 2022-04-23 10:13:21 -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 ARTEMIS-3753 Prevent sending message to internal queues on mirror 2022-04-23 10:13:21 -04: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 ARTEMIS-3762: update docs build, add version overrides to clear security warnings 2022-04-07 11:18:29 +01: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: update to Spring 5.3.19 and Spring Boot 2.6.7 which uses it 2022-04-22 14:04:20 +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-3753 Prevent sending message to internal queues on mirror 2022-04-23 10:13:21 -04: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: update to Spring 5.3.19 and Spring Boot 2.6.7 which uses it 2022-04-22 14:04:20 +02: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/