Commit Graph

9724 Commits

Author SHA1 Message Date
Domenico Francesco Bruscino 5e08540b8a ARTEMIS-3980 Drop website dependencies from artemis-distribution 2022-09-20 10:50:31 +01:00
Justin Bertram 9a0669e282
This closes #4194 2022-09-19 14:45:06 -05:00
Justin Bertram 8b56c04293
ARTEMIS-3962 porting changes from AMQ-5281
Incorrect handling of unknown values in selectors.

There is a slight semantic change here due to an error in the way we
were handling null identifiers. This may require a change in selector
syntax to use "IS NULL" or "IS NOT NULL" when using identifiers which
may be null in the message being selected.

This was the case for an internal filter used by the cluster connection
bridge to select which cluster notification messages to consume.

See https://issues.apache.org/jira/browse/AMQ-5281 for more details.
2022-09-19 14:45:05 -05:00
Justin Bertram f11b96e7ed
ARTEMIS-3962 porting changes from AMQ-8613
Improve performance of selectors with a big sequence of OR and AND
logical expressions.
2022-09-19 14:45:05 -05:00
Justin Bertram f0ff385c7c
ARTEMIS-3962 porting changes from AMQ-9052
Optimisations to improve the efficiency of the selectors.
2022-09-19 14:45:05 -05:00
Justin Bertram 9d20d7b87f
NO-JIRA remove out-dated GC recommendation
G1 is the recommended (and default) GC algorithm.
2022-09-19 14:43:56 -05:00
Clebert Suconic 7bf1193380 ARTEMIS-4003 Fixing credit starve on Large Message over the bridge or clustering 2022-09-19 12:10:28 -04:00
Justin Bertram 33abbbc4b8
NO-JIRA small Docker clean-ups/fixes 2022-09-19 09:58:09 -05:00
Domenico Francesco Bruscino 93a5f3b596 ARTEMIS-3999 Fix setting extraParams for new acceptors via broker properties 2022-09-19 08:18:12 +02:00
Justin Bertram faef3edd78
This closes #4206 2022-09-18 22:07:30 -05:00
Vilius Šumskas 7e29067e8e ARTEMIS-3983 Update all base images to use Eclipse-Temurin 2022-09-18 21:54:38 +03:00
Vilius Šumskas 666a8ba79f ARTEMIS-3983 Change docker base image version from JDK to JRE
JRE is enough to run most Java software, including ActiveMQ Artemis.
2022-09-18 21:45:13 +03:00
Justin Bertram f5247906a6
NO-JIRA few script improvements
- Standardize if/then syntax
 - Only check URL status if download is actually necessary
 - Simplify & clarify temp directory prep
 - Improve instructions/feedback
2022-09-17 11:28:05 -05:00
Domenico Francesco Bruscino e7ff8fd427 ARTEMIS-3980 Remove web content from distribution 2022-09-16 11:02:25 -04:00
Clebert Suconic 8d1865fdcb ARTEMIS-3995 Mute Artemis Maven Plugin
The ActiveMQ Artemis Maven plugin will throw system.out and log.info for a lot of stuff,
This should mute some of that output.
2022-09-16 11:02:05 -04:00
Domenico Francesco Bruscino fda7f6ba37 ARTEMIS-3998 Fix broker properties for connectionRouters 2022-09-15 15:42:29 -04:00
Justin Bertram 0c95fff865
This closes #4218 2022-09-15 11:11:20 -05:00
Justin Bertram 27008758fe
ARTEMIS-3986 CME when using LVQ
The map used by LastValueQueue was inadvertently changed to a
non-thread-safe implementation in
4a4765c39c. This resulted in an occasional
ConcurrentModificationException from the hashCode implementation.

This commit restores the thread-safe map implementation and adds a test
which brute-forces a CME when using the non-thread-safe implementation.
2022-09-15 11:11:19 -05:00
Justin Bertram c9f01cec3c
ARTEMIS-3981 improve logic
Don't check the CDN URL twice in the case where it's good.
2022-09-15 10:27:42 -05:00
Justin Bertram dddbd9653a
ARTEMIS-3981 fix syntax 2022-09-15 10:15:23 -05:00
Gary Tully 871d63aaad ARTEMIS-3978 - add some more documentation around broker properties 2022-09-15 13:27:41 +01:00
Gary Tully c8624f57d7 ARTEMIS-3978 - allow federation upstream configuration via properties 2022-09-15 13:27:41 +01:00
Robbie Gemmell 3aeb24ae01 ARTEMIS-3997: update vertx-proton test dep to 4.3.3 2022-09-15 09:33:48 +01:00
Robbie Gemmell 164ae04218 AARTEMIS-3996: update to proton-j 0.34.0 2022-09-15 09:33:39 +01:00
Justin Bertram 9b535c622a
This closes #4216 2022-09-14 15:31:32 -05:00
Justin Bertram 015acab8db
ARTEMIS-3981 bad docker image if release pull is 404 2022-09-14 15:27:15 -05:00
Justin Bertram abeed34449
This closes #4215 2022-09-14 15:22:51 -05:00
Justin Bertram 98d176ae83
ARTEMIS-3748 support older versions in prepare-docker.sh 2022-09-14 14:07:14 -05:00
Justin Bertram 4b791b502d
This closes #4197 2022-09-14 11:50:37 -05:00
Justin Bertram 6b5a73db8a
ARTEMIS-3913 custom MQTT client ID rejection
Sometimes users want to perform custom client ID validation, and in the
case of an invalid client ID the proper reason code should be returned
in the CONNACK packet.
2022-09-14 11:50:36 -05:00
Justin Bertram c4fded664b
This closes #4202 2022-09-14 11:48:39 -05:00
Justin Bertram 02d1512be7
ARTEMIS-3967 fix Camel WAR example pom.xml file 2022-09-14 11:48:38 -05:00
Clebert Suconic f47d592079 ARTEMIS-3988 Moving MMSFactoryTest under soak-tests 2022-09-13 23:29:20 -04:00
Clebert Suconic 59585ffc94 NO-JIRA Trying to fix StompV11Test intermittent failure 2022-09-13 23:05:22 -04:00
Justin Bertram a9a85f98db ARTEMIS-3984 LegacyLDAPSecuritySettingPlugin shouldn't modify existing matches
When the LegacyLDAPSecuritySettingPlugin has enableListener set to true
and a new permission is added it will try to modify the existing match
if one exists. This is problematic if there's a more generic wildcard
match than the specific one that's modified.

This commit fixes that problem so that instead of modifying the existing
match(es) it simply adds a new one. The plugin never should have tried
modifying the existing match in the first place as two identical matches
would be a configuration error.
2022-09-13 19:11:28 -04:00
Timothy Bish 289587f004 ARTEMIS-3990 Ensure that readable buffer string read consumes the bytes
Ensures that when reading a string the readable buffer consumes the
bytes by advancing the read index as defined in the interface API docs.
2022-09-13 17:17:11 -04:00
Clebert Suconic 902c0cb62b NO-JIRA Removing dead code - AmqpReadableBuffer 2022-09-13 17:16:51 -04:00
Justin Bertram d127866dfd
This closes #4213 2022-09-13 14:45:02 -05:00
Emmanuel Hugonnet 51ccc7d6c2
ARTEMIS-3989 ActiveMQServerControl.getRoles doesn't return all roles
- Fixing RoleInfo to provide informations on deleteAddress.
 - Adding more coverage on test to check the number of permissions
   returned.

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
2022-09-13 14:43:58 -05:00
Justin Bertram a254e50aae
NO-JIRA update Jolokia doc with example curl command 2022-09-13 11:30:32 -05:00
Clebert Suconic c4145e9226 ARTEMIS-3973 Solving concurrent issue between Subscription.ack and moveNext under heavy CPU usage 2022-09-13 10:49:22 -04:00
Clebert Suconic 9fc5886391 NO-JIRA Making some Test Parameters mandatory
if you miss them, the test would rather fail then silently using less than ideal values
2022-09-13 08:38:23 -04:00
Robbie Gemmell 484447d5d5 ARTEMIS 1815: add example missed previously to run-standard-examples.sh, plus tweak comment to make diffing the scripts easier 2022-09-13 09:48:02 +01:00
Clebert Suconic e654eba0de ARTEMIS-3987 Removing ActiveMQ Artemis Rest from the codebase.
As we discussed on the dev list, this module hasn't been used for a while, and we have been asking users to use stomp and stomp-WS instead.
2022-09-12 15:09:31 -04:00
Clebert Suconic 4ad830fb95 Bumping artemis as 3.0
After removing ActiveMQ Artemis rest (per ARTEMIS-3987), we should start promoting Artemis as 3.0
2022-09-12 15:09:31 -04:00
Robbie Gemmell e5086f447e ARTEMIS-3985: update to activemq 5.17.2 2022-09-12 12:20:14 +01:00
Robbie Gemmell 065bfe14f5 ARTEMIS-3975: dont enable the snapshots repo for release artifacts during examples build 2022-09-08 15:09:37 +01:00
Robbie Gemmell 66ac39eb81 ARTEMIS-3971: set -noindex to exclude various .js files from javadoc output 2022-09-06 17:23:56 +01:00
Robbie Gemmell 1248877f6c ARTEMIS-3970: update keycloak version used for example to 19.0.1 (and tweak filename accordingly) 2022-09-05 15:35:21 +01:00
Clebert Suconic f953408185 ARTEMIS-3969 Removing Extra tests from the codebase 2022-09-02 13:04:53 -04:00