Commit Graph

9548 Commits

Author SHA1 Message Date
Robbie Gemmell 9873fccf74 ARTEMIS-4020: switch to using SLF4J API for logging, use Log4J 2 as impl for broker distribution and tests
PR includes work from myself and Clebert Suconic, squashed from the new-logging branch.
2022-09-28 14:01:54 -04:00
Clebert Suconic 1a8c458906 NO-JIRA Adding a Compacting Test
I was debugging Compacting, looking for a possible issue here in these conditions.
even though I found nothing wrong with the code, I still want to keep the test as there's no such thing as enough testing.
2022-09-26 11:23:50 -04:00
Justin Bertram 3d98ebc262
This closes #4233 2022-09-23 21:29:36 -05:00
Justin Bertram e47b7992ca
ARTEMIS-4010 LegacyLDAPSecuritySettingPlugin missing data
In commit a9a85f98db I removed the code
which modified existing matches. However, I forgot that the matches read
from LDAP are often duplicated so instead of always adding a new match
this commit ensures that the *right* match is modified rather than a
potentially more generic wildcard match (which was the original
problem).
2022-09-23 21:29:35 -05:00
Domenico Francesco Bruscino 0113e38695 NO-JIRA Adding Release notes about removing web content 2022-09-23 17:11:27 +02:00
Robbie Gemmell b8771e1181 NO-JIRA: tweak/clarify previous change to versions.md 2022-09-23 14:54:12 +01:00
Clebert Suconic c96d89a7dc NO-JIRA Adding Release notes about removing rest 2022-09-22 15:56:30 -04:00
Clebert Suconic e865558b30 ARTEMIS-3763 Fixing test I missed on my previous commit for JDBCLock 2022-09-22 14:39:48 -04:00
Clebert Suconic 58208765da This closes #4200 2022-09-22 14:34:49 -04:00
Marlon Müller 9fa36e7c53 ARTEMIS-3763 Use margin when checking time difference between broker and database
* Add configurable time margin for checking offset between database server and broker when updating lease lock
2022-09-22 14:34:33 -04:00
Justin Bertram cd7555c523 ARTEMIS-3264 handle core-to-AMQP conversion failures more gracefully
If an AMQP consumer tries to receive a message and the broker is unable
to convert the message from core to AMQP then the consumer is
disconnected and the offending message stays in the queue. When the
consumer reconnects the conversion error will happen again resulting in
a loop that can only be resolved through administrative action (e.g.
deleting the message manually or sending it to a dead letter address).

This commit fixes that problem by detecting the conversion problem and
sending the message to the queue's dead letter address. It also doesn't
disconnect the consumer.

This commit also changes the log messages associated with sending a
message to the dead letter address since this event can now occur
regardless of the delivery attempts.
2022-09-22 09:55:36 -04:00
Clebert Suconic 5d8e7fe829 [maven-release-plugin] prepare for next development iteration 2022-09-21 13:00:47 -04:00
Clebert Suconic 2d7b1a3ef7 [maven-release-plugin] prepare release 2.26.0 2022-09-21 13:00:46 -04:00
Clebert Suconic 5811f4fcc1 Version.md update before the release 2022-09-21 12:28:05 -04:00
Clebert Suconic 9c851f9605 This closes #4228 2022-09-21 11:49:26 -04:00
Gary Tully 2d662a07f3 ARTEMIS-4007 - expose status attribute on configuration that can hold version or error state and reflect modifications via refresh 2022-09-21 11:49:26 -04:00
Robbie Gemmell 4ab947f2d9 ARTEMIS-4008: update to qpid-jms 1.7.0 2022-09-21 13:33:28 +01:00
Justin Bertram 92964e4f00 ARTEMIS-3934 restore settings equivalent to -XX:+AggressiveOpts
Before we moved to Java 11 we recommended using the -XX:+AggressiveOpts
JVM tuning option. In Java 8 this was essentially equivalent to setting
these two main parameters:

 - -XX:BiasedLockingStartupDelay=500 (4000 by default)
 - -XX:AutoBoxCacheMax=20000 (128 by default)

BiasedLockingStartupDelay defaults to 0 in Java 11, but AutoBoxCacheMax
still defaults to 128. Therefore, we should add
-XX:AutoBoxCacheMax=20000 to restore this optimization that's been lost
since removing -XX:+AggressiveOpts.
2022-09-20 20:45:36 -04:00
Robbie Gemmell 202a16b653 ARTEMIS-3970: update keycloak example to use 19.0.2 2022-09-20 18:07:21 +01:00
Robbie Gemmell dfa797f906 ARTEMIS-4006: remove repackaged/partial-shaded -all uber client artifacts from the assembly 2022-09-20 17:54:33 +01:00
Robbie Gemmell 3403f9a5ea This closes #4227 2022-09-20 16:38:47 +01:00
Tiago Bueno d8cdc24112 ARTEMIS-4005 - Fix e2e-test execution
Fix the Dockerfile name reference
Add artemis-unit-test-support module as test dependency
2022-09-20 16:38:37 +01:00
Gary Tully d7d1c2ee42 ARTEMIS-4001 - add properties url to the reload manager watch list, validate queue creation on reload with new test 2022-09-20 15:39:32 +01:00
Robbie Gemmell 1974ec5289 This closes #4221 2022-09-20 10:51:12 +01:00
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