Commit Graph

10555 Commits

Author SHA1 Message Date
Timothy Bish d7a7116a4c ARTEMIS-4754 Structure the names used for federation internal queues
When creating internal temporary queues for the federation control links and the
events link we should use a structured naming convention to ease in configuring
security for the federation user where all internal names fall under a root prefix
which can be used to grant read and write access for the federation user. This
change allows security on the wildcarded address "$ACTIVEMQ_ARTEMIS_FEDERATION.#".
This change also includes some further restrictions added to federation resources
and adds support for wildcarding '$' prefixed addresses.
2024-05-02 15:54:13 +01:00
Justin Bertram 8b73335b46 ARTEMIS-4752 upgrade ErrorProne to 2.27.0
The upgraded ErrorProne found some new issues so this commit fixes those
as well.
2024-05-02 10:10:17 +01:00
Clebert Suconic 14e83faa1b ARTEMIS-4750 AMQP Large Message flow control to use runAfter
The resume delivery on AMQP Large Message Writer is using runNow.
When a flow control is paused and then resumed, the runNow will make the first read to happen inline to the thread that's resuming other deliveries.
It would be better to not run the delivery within the same call. Hence the change here is simple, being just using a connection.runLater instead of runNow.
I have seen this on a thread dump from a production server.
No semantic issues were encountered but there was a theory that the Netty thread responsible to resume would be busy with a delivery when not supposed to.
Better to be safe on this case.
2024-05-01 13:51:04 -04:00
Clebert Suconic 817dc41ed4 NO-JIRA Test validating multiple mirrors connected to a node 2024-04-30 22:48:38 -04:00
Clebert Suconic 5d5b2febf0 NO-JIRA fixing log.trace 2024-04-30 14:24:17 -04:00
Clebert Suconic b50f01b02b ARTEMIS-4746 Simplifying switch case on JMSExceptionHelper 2024-04-28 15:42:27 -05:00
Justin Bertram 614b5cb32f ARTEMIS-1769 return JMS Session's ClientID via JMX 2024-04-27 09:38:54 -05:00
Justin Bertram fc6f0ee9ec ARTEMIS-4740 reduce unnecessary boxing 2024-04-27 09:36:05 -05:00
Timothy Bish 659b17c3a9 ARTEMIS-4745 Allow configuration of the pull consumer batch size
Allow for configuration of the batch size granted to the remote when an
AMQP federation queue receiver is pulling messages only when there is
local capacity to handle them. Some code housekeeping is done here to
make adding future properties a bit simpler and require fewer changes.
2024-04-26 16:29:17 +01:00
Timothy Bish ee7a2c0944 ARTEMIS-4744 Fully support multple host broker connections URIs
Create a new NettyConnector for each connection attempt that is configured from
distinct broker connection URIs which allows for differing TLS configuration
per remote connection configuration.
2024-04-25 18:29:30 +01:00
Justin Bertram 934fe24e5c ARTEMIS-4734 mitigate NPE in ReplicationManager 2024-04-25 12:18:50 -05:00
Clebert Suconic 379515382e ARTEMIS-4743 Improve CLI Queue Stat Output: Split lines and include internal queue attribute 2024-04-24 10:26:41 -04:00
Clebert Suconic 07ba37a74a Revert "NO-JIRA Test validating multiple mirrors connected to a node"
This reverts commit bf81e5fe31.
2024-04-23 23:04:04 -04:00
Clebert Suconic 1e29602158 ARTEMIS-4733 Fixing test as it is now correctly ignoring MQTT internal queue 2024-04-23 22:44:09 -04:00
Clebert Suconic bf81e5fe31 NO-JIRA Test validating multiple mirrors connected to a node 2024-04-23 22:43:51 -04:00
Justin Bertram 61e52ae0fd ARTEMIS-4705 remove unnecessary field from STOMP HeartBeater 2024-04-23 20:02:00 -05:00
Justin Bertram f7288c16a6 ARTEMIS-4742 decoding PersistedSecuritySetting fails after upgrade 2024-04-23 10:35:20 +01:00
Clebert Suconic 86f7250d1c ARTEMIS-4733 Fixing test as it is now correctly ignoring MQTT internal queue 2024-04-22 13:29:24 -04:00
Gary Tully 20f345dbe1 ARTEMIS-4709 plugin to enforce connection periodic expiry per acceptor 2024-04-22 10:19:51 -05:00
Gary Tully a4d1f7084d ARTEMIS-4582 - fix typo in smoke test comment 2024-04-22 14:29:16 +01:00
Clebert Suconic 44e78d42a2 ARTEMIS-4733 Internal queues should not be mirrored 2024-04-22 00:06:07 -04:00
Clebert Suconic fdf2ea874b ARTEMIS-4733 Infinite mirror reflections after CreateAddress 2024-04-20 11:07:14 -04:00
Justin Bertram ed59b0ea91 ARTEMIS-4727 fix STOMP durable sub doc and property precedence 2024-04-19 23:42:47 -05:00
Clebert Suconic 09dc445071 ARTEMIS-4731 removing System.out left by accident 2024-04-19 10:36:46 -04:00
Clebert Suconic 6fe53b813a ARTEMIS-4731 OpenWireConnection exception listener should call transport.close();
this is causing a leak for server objects
2024-04-19 00:57:16 -04:00
Justin Bertram 791630fa86 ARTEMIS-1921 setting client ID on core JMS should be reflected in broker RemotingConnection 2024-04-18 11:46:13 +01:00
Clebert Suconic 31243b1023 ARTEMIS-4723 Optimization on HandlerBase
No need to create a new instance every time the processor starts executing.
The instance of counter can be reused and stored in the Thread.
2024-04-17 18:49:03 -04:00
Clebert Suconic a1c6a5c3b6 NO-JIRA making test more reliable 2024-04-17 18:49:03 -04:00
Clebert Suconic e4a6687cd4 ARTEMIS-4723 Avoid objects left on ThreadLocal from OrderedExecutorFactory
co-authored: Jakob van Kruijssen <cardamon@gmail.com>
2024-04-17 14:19:12 -04:00
Clebert Suconic c0cf01f914 NO-JIRA Speeding up ReceiverNoWaitTest
This test is using 1000 repetitions, each repetition sending 100 messages, which is not really needed on this case.
2024-04-17 11:07:00 -04:00
Domenico Francesco Bruscino f4581deb9d ARTEMIS-4729 Upgrade slf4j version to 2.0.12 2024-04-17 09:11:59 +02:00
Domenico Francesco Bruscino e065b4448f ARTEMIS-4728 Upgrade jgroups version to 5.3.4.Final 2024-04-17 09:11:24 +02:00
Clebert Suconic 8880ae92d9 ARTEMIS-4725 Fixing intermittent failure on test 2024-04-16 21:26:01 -04:00
Clebert Suconic eb7b0b0946 ARTEMIS-4725 Mirroring tests using multiple versions 2024-04-16 14:52:59 -04:00
Timothy Bish 329d963717 ARTEMIS-4725 Fix AMQP outgoing encoding if da encoded before header
Fix the AMQP message scanning to account for the header not being at the
front of the buffer which also accounts for odd case of broker storing
message with delivery annotations ahead of the header.
2024-04-16 14:52:59 -04:00
Justin Bertram 7072eb187a ARTEMIS-4625 upgrade CheckStyle to 10.15.0 2024-04-16 11:19:54 +01:00
Justin Bertram a1db72395c ARTEMIS-1691 JMS bridge can't be manually restarted after failure 2024-04-15 23:49:13 -04:00
Domenico Francesco Bruscino 021993fe7c ARTEMIS-4724 Upgrade karaf version to 4.4.6 2024-04-15 15:32:28 +02:00
Gary Tully 66caefe1d7 ARTEMIS-4582 - fix missed change from update to view naming in the doc 2024-04-15 14:12:05 +01:00
Gary Tully e43707aba9 ARTEMIS-4582 - doc update to remove incorrect info 2024-04-15 13:43:37 +01:00
Justin Bertram 66fcd7f4cf ARTEMIS-1729 automatically check for broken documentation links 2024-04-12 16:06:00 -05:00
Justin Bertram f64e37622e ARTEMIS-1551 validate properties between JMS clients 2024-04-12 12:02:57 -05:00
Justin Bertram aff360c70e
ARTEMIS-2492 remove defuct doc snippet 2024-04-12 00:43:35 -05:00
Clebert Suconic 375397b811 NO-JIRA Compatiblity test for Mirroring
just keeping a test I wrote for investigating a non issue
2024-04-11 18:39:50 -04:00
Domenico Francesco Bruscino 2db7940327 ARTEMIS-4722 Exclude netty-tcnative-boringssl-static artifacts
The lib folder includes netty-tcnative-boringssl-static artifacts non-aligned
with the netty-tcnative-version in pom.xml. Those artifacts are included
because of zookeeper-server.
2024-04-11 10:43:45 -04:00
Clebert Suconic e1bf8222e7 ARTEMIS-4498 Adding release doc 2024-04-11 10:28:04 -04:00
Clebert Suconic 162c4f6655 ARTEMIS-4498 Making queues always manageable 2024-04-11 10:28:04 -04:00
Clebert Suconic 7702b39374 ARTEMIS-4498 Adding internal column on address view 2024-04-11 10:28:04 -04:00
a181321 51f39fc34d ARTEMIS-4498 Expose internal queues for management and observability 2024-04-11 10:28:04 -04:00
Justin Bertram 6e3c7e055d
ARTEMIS-4721 fix MQTT link in upgrade instructions 2024-04-11 09:14:04 -05:00