Clebert Suconic
8e54a65227
ARTEMIS-3767 Incompatibility on replication between 2.17 and current version
2022-07-18 16:34:31 -04:00
Gary Tully
7bc3b02809
ARTEMIS-3895 - treat properties url with trailing slash as directory of .properties files and apply in lexical order of name
2022-07-18 10:38:54 +01:00
Clebert Suconic
0f5bd28e23
ARTEMIS-2894 Small tweak into newInstance call
2022-07-14 11:55:24 +01:00
Gary Tully
d3ed11da2a
ARTEMIS-3894 - resolve errorprone warn on vargs call
2022-07-13 15:44:26 -04:00
Gary Tully
7ee820864b
ARTEMIS-3894 - add conversion from string for list - allow core bridge static connector config via properties
2022-07-13 15:44:26 -04:00
Gary Tully
1f2543029c
ARTEMIS-3891 - allow TransformerConfig creation via properties
2022-07-13 00:01:35 -04:00
Gary Tully
4a4765c39c
ARTEMIS-3890 - rework LVQ implementation to ensure all messages get delivered, replacement of lvq now tied to the deliver loop. Fix issue with duplicates - bug in LinkedListImpl`
2022-07-13 00:01:16 -04:00
Clebert Suconic
68f6d8263d
ARTEMIS-3743 / ARTEMIS-3766 Use ACKReason on Mirror to determine target operations and fixing Delivering statistics on Mirror
...
I merged these two JIRAs into one as I was doing an overal check on Mirroring
2022-06-29 19:20:03 -04:00
Robbie Gemmell
2ab0e85db4
ARTEMIS-3874: move/update various bits to allow removing many test-jar creations and dependencies
2022-06-27 09:52:54 -04:00
Ryan Highley
2123de415b
ARTEMIS-3873 AMQP Broker Conn Encrypted Attrs
...
Adds support for ENC(...) attribute values for user and password on
amqp-connection.
2022-06-27 14:37:27 +02:00
Gary Tully
6d926719f4
ARTEMIS-3863 - allow Role configuration via properties
2022-06-23 09:41:33 +01:00
Clebert Suconic
9dd026118e
ARTEMIS-3862 Short lived subscriptiong makes address size inconsistent
2022-06-17 16:57:35 -04:00
Clebert Suconic
342565d4c1
ARTEMIS-3850 Eliminate Page Soft Cache. Add Option to read messages based on sizing.
2022-06-14 14:53:14 -04:00
Clebert Suconic
0fab0dae91
[maven-release-plugin] prepare for next development iteration
2022-06-07 12:39:09 -04:00
Clebert Suconic
224ca0d4d7
[maven-release-plugin] prepare release 2.23.0
2022-06-07 12:39:07 -04:00
Clebert Suconic
a2dd805a2f
ARTEMIS-3848 High CPU usage on ReadWriteLocks
...
This is caused by too many entries on the HashMap for ThreadLocals.
Also: I'm reviewing some readlock usage on the StorageManager to simplify things a little bit.
2022-05-25 12:27:57 -04:00
Justin Bertram
466597e83b
ARTEMIS-3822 get broker name via management
2022-05-23 12:03:32 -05:00
Justin Bertram
974bd5f6e1
ARTEMIS-3808 support start/stop embedded web server via mngmnt
...
It would be useful to be able to cycle the embedded web server if, for
example, one needed to renew the SSL certificates. To support
functionality I made a handful of changes, e.g.:
- Refactoring WebServerComponent so that all the necessary
configuration would happen in the start() method.
- Refactoring WebServerComponentTest to re-use code.
2022-05-23 10:57:49 -05:00
Gary Tully
b390a6b08f
ARTEMIS-3835 - deprecate addressesSettings in place of addressSettings on the Configuration bean
2022-05-18 08:13:17 +02:00
Gary Tully
168b61ec38
ARTEMIS-3826 - allow address/queue configuration via properties
2022-05-18 08:07:58 +02:00
Clebert Suconic
bed9af2e51
ARTEMIS-3825 Improve Print-data output with non existing queues
2022-05-10 16:53:53 -04:00
Domenico Francesco Bruscino
7a03f58be9
ARTEMIS-3816 Fix connection router null pointer dereferences
2022-05-10 10:02:46 +02:00
Gary Tully
d433f3bc3f
ARTEMIS-3823 - limit modulo operation to positive hash values
2022-05-10 10:01:24 +02:00
Clebert Suconic
e420eb4732
ARTEMIS-3817 SchedulePageCleanup operation on AddressControl
2022-05-09 09:17:56 -04:00
iliya
0b321ab8ff
ARTEMIS-3759 Add mirror controller address filter support
...
Allow replication only certain addresses with mirror controller.
The configuration is similar to cluster address configuration.
Co-authored-by: Robbie Gemmell <robbie@apache.org>
2022-05-04 21:25:58 -04:00
Clebert Suconic
ee51a7806d
ARTEMIS-3811 Cluster connections clashing with ANYCast addresses
...
This is a test fix for AMQPClusterReplicaTest
2022-05-03 12:55:23 -04:00
Clebert Suconic
784b0e967e
ARTEMIS-3810 Do not throw error resuming already active XA Transaction
2022-05-02 14:45:07 -04:00
Clebert Suconic
48cd586ac5
ARTEMIS-3807 Simplify Redistributor avoid races, and fix ProtocolMessageLoadBalancingTest
...
The control existing in Redistributor is not needed as the Queue::deliver will already have a control on re-scheduling the loop and avoid holding references for too long.
2022-04-29 08:24:06 -04:00
Clebert Suconic
57fa8b8271
[maven-release-plugin] prepare for next development iteration
2022-04-27 17:26:46 -04:00
Clebert Suconic
1a49845628
[maven-release-plugin] prepare release 2.22.0
2022-04-27 17:26:45 -04:00
Domenico Francesco Bruscino
eb6264239e
ARTEMIS-3803 Fix first NetworkHealthCheck execution
...
The NetworkHealthCheck hasn't to execute the default command if a custom
command is defined.
2022-04-26 17:11:48 -04:00
Clebert Suconic
5e6f599f80
ARTEMIS-3805 producer-window-size default
2022-04-26 16:14:14 -04:00
Clebert Suconic
28513e048f
ARTEMIS-3753 Small Improvement on RouterContext.internalOnly calculation
2022-04-23 11:20:48 -04:00
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
Emmanuel Hugonnet
52a4157bbb
[ARTEMIS-3756]: Enabling extra parameters to be passed by the URI.
...
* passing the full list of parameters when creating the URI.
* moving the WARN message to DEBUG when unknown parameters are
received.
Jira: https://issues.apache.org/jira/browse/ARTEMIS-3756
2022-04-21 19:00:55 -04:00
Justin Bertram
650952ba67
ARTEMIS-3755 mitigate NPE related to fail-back
2022-04-21 18:55:00 -04:00
Clebert Suconic
857f9f1db8
ARTEMIS-3765 Fixing testsuite
...
we cannot really change the attribute's name as it may break user's applications.
I am adding the previous property here.
2022-04-20 21:20:11 -04:00
Gary Tully
f9f70aeb4c
ARTEMIS-3786 - ensure named properties config from routerConfiguration can be created from string property value
2022-04-20 12:26:12 -04:00
aaron.hoffer
d0574b39af
ARTEMIS-3765 Display validated user in Hawtio
...
This PR adds a "Validated User" column to the Hawtio plugin. The column is
not visible by default. The "Validated User" column is available in the
Session, Consumer, and Producer tabs of the artemis-navigation notebook.
"Validated User" is also available for sort and filtering in those view.
The "Validated Consumer" in the Producer view is always blank. I debugged
as far as I could, but did not find the cause of the issue.
2022-04-19 09:49:31 -05:00
iliya
20370d2920
ARTEMIS-3751 Do not override large message size
...
It is possible to receive a compressed message from the client as regular message. Such a message will already contain correct body size, that takes compression into account.
2022-04-18 15:01:44 -04:00
Clebert Suconic
da5d5e504f
ARTEMIS-3779 Critial IO Exception logged as Error
2022-04-14 18:04:06 -04:00
Clebert Suconic
d0036ee0cc
ARTEMIS-3778 Just avoiding NPE on Expiry Reaper
...
Added an extra check on null, just in case
it should not happen, but I preferred adding this clause on the safe side
2022-04-14 17:13:35 -04:00
Clebert Suconic
f4bdacbc4c
ARTEMIS-3778 Streamline Expiration Reaping
...
Instead of holding a thread and an iterator, we should instead keep moving to next references
without holding any threads. Just with callbacks.
2022-04-14 13:04:51 -04:00
Clebert Suconic
bc17acd6da
ARTEMIS-3776 Avoid Integer.MAX_VALUE overflow on openwire clients
...
Older versions of Openwire clients wil be affected by AMQ-6431.
As a result of the issue if the ID of the message>Integer.MAX_VALUE
a consumer configured with Failover and doing duplicate detection on the client
will not be able to process duplicate detection accordingly and miss messages.
2022-04-13 11:11:10 -04:00
Robbie Gemmell
9d943483d5
ARTEMIS-3772: update to mockito 4.4.0
2022-04-08 13:38:41 +01:00
Clebert Suconic
cfdb710a08
ARTEMIS-3761 Improve page cleanup to remove messages in the middle of the stream as well
...
Paging only removes files at the beginning of the stream...
Say you have paged files 1 through 1000...
if all the messages are ack, but one message on file 1 is missing an ack, all the 999 subsequent files would not be removed until all the messages on file 1 is ack.
This was working as engineered, but sometimes devs don't have complete control on their app.
With this improvement we will now remove messages in the middle of the stream as well.
There is also some improvement to how browsing and page work with this
2022-04-07 10:33:08 -04:00
Clebert Suconic
1da68b3024
ARTEMIS-3769 Fixing queue browsing iterator avoiding NoSuchElement exception from the Iteration
...
QueueImpl::browserIterator could throw NoSuchElementException and this is fixing the iterator
Found this while testing ARTEMIS-3761
2022-04-07 10:33:08 -04:00
Clebert Suconic
bad1c26582
NO-JIRA Making AmqpFlowControlFailTest more accurate
...
this test was relying on internal details such as number of credits on the link.
The test was flaky and eventually failing or hunging.
2022-04-07 10:33:08 -04:00
Gary Tully
825264257a
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
Gary Tully
a739b9f068
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