Commit Graph

10676 Commits

Author SHA1 Message Date
Justin Bertram 4c454e8abd ARTEMIS-4747 remove unreachable code 2024-06-19 20:23:55 -04:00
Justin Bertram 8d3508eaf2 ARTEMIS-4828 remove unused variables 2024-06-19 20:23:33 -04:00
Justin Bertram 80ec64c3d9 ARTEMIS-4827 remove unreachable or redundant code 2024-06-19 20:22:46 -04:00
Justin Bertram be1459c939 ARTEMIS-4826 avoid implicit int conversion to long 2024-06-19 20:19:58 -04:00
Robbie Gemmell 6fe1997aec ARTEMIS-4822: update commons pom to avoid varying dependency-reduced replacement pom
Remove javadoc plugin config and execution from release profile, add fixed pluginManagement
config and build execution, leverage properties only in profile to govern whether it skips,
stops profile varying in shade-generated pom depending on mvn verion and profiles used.
2024-06-19 17:25:00 +01:00
Domenico Francesco Bruscino cbdc197beb ARTEMIS-4823 Upgrade BouncyCastle to 1.78.1 2024-06-19 17:39:03 +02:00
Robbie Gemmell ae8fd6dbdb ARTEMIS-4822: disable timestamps in PDF metadata, making it and artemis-website output reproducible 2024-06-19 10:02:20 +01:00
Josh Byster 166adf4bfb ARTEMIS-4814 Make direct binding lookup time constant
Currently, with 500K+ queues, the cleanup step of TempQueueCleanerUpper
requires invoking WildcardAddressManager#getDirectBindings, which is
O(k) in the number of queues.

From method profiling, this can consume up to 95% of our CPU time when
needing to clean up many of these.

Add a new map to keep track of the direct bindings, and add a test
assertion that fails if we don't properly remove it.
2024-06-18 21:32:20 -04:00
Clebert Suconic ee9d016f6c NO-JIRA Adding test on WildcardAddressManagerUnitTest.java
No semantic changes here. Just keeping a test I wrote to verif something against PR #4972
2024-06-18 18:53:50 -04:00
Domenico Francesco Bruscino e5e95f4a18 ARTEMIS-4818 Support classes with .class in the package 2024-06-18 13:05:29 +01:00
Domenico Francesco Bruscino a10694f202 ARTEMIS-4818 Improve support for multiple broker plugins from broker properties 2024-06-18 11:17:44 +01:00
Justin Bertram 4967a0c4ba
NO-JIRA clarify CLI docs 2024-06-17 14:06:56 -05:00
Timothy Bish c6f227cbb8 ARTEMIS-4820 Read Header TTL as unsigned integer to set expiration
When setting expiration on the AMQPMessage the AMQP header TTL value
should be read as an unsigned integer and as such should use the longValue
API of UnsignedInteger to get the right value to set expiration.
2024-06-17 13:32:43 -05:00
Timothy Bish a6ff05ecd7 ARTEMIS-4817 Check policy credits before checking parent credits
When checking if address federation can be done the manager needs to look
at the policy level settings before looking at federation or connector
level settings for amqp credits.
2024-06-13 15:35:00 -07:00
Clebert Suconic 58e8deac2b ARTEMIS-2892 Interrupted replication could lead to restart problems 2024-06-13 17:48:29 -04:00
Clebert Suconic 165a93365c NO-JIRA Specifying default --commit-interval on transfer 2024-06-13 12:09:38 -04:00
Jeroen van Gorkum b1c28d7bd4 ARTEMIS-4816: Docker image echo's admin credentials during startup
Signed-off-by: Jeroen van Gorkum
2024-06-13 11:40:08 -04:00
Clebert Suconic 106418dc74 NO-JIRA ReplayTest paging tests
No semantic changes in this commit,
I was just exploring the possibility of
issues with paging and large messages combined
and I decided to keep the test.
2024-06-13 10:21:36 -04:00
Clebert Suconic 7f038de9ad ARTEMIS-4667 Fixing replay manager with replication on the large message case 2024-06-12 18:49:35 -04:00
Clebert Suconic dd6c74fc1c ARTEMIS-4667 ReplayManager does not work with replication
co-authored: Jean-Pascal Briquet provided the testcase
2024-06-12 17:57:36 -04:00
Clebert Suconic f4fd259f07 [maven-release-plugin] prepare for next development iteration 2024-06-12 11:58:53 -04:00
Clebert Suconic b4d3a77649 [maven-release-plugin] prepare release 2.35.0 2024-06-12 11:58:52 -04:00
Clebert Suconic 64f4d03f5e Version upgrade 2024-06-12 11:26:18 -04:00
Clebert Suconic 842a176a4e ARTEMIS-4815 json output into ./artemis queue stat 2024-06-12 11:26:18 -04:00
Justin Bertram e3805bd05a ARTEMIS-4795 enforce queue filter when sending to FQQN 2024-06-12 08:26:11 -04:00
Clebert Suconic 4eb90765a7 ARTEMIS-4813 Large Message in replication / sync could lose part of the body
This is a regressio after ARTEMIS-4784
2024-06-12 00:31:22 -04:00
Justin Bertram 43e8009fb0
NO-JIRA fix small doc-related issues for id-cache-size 2024-06-11 16:42:47 -05:00
Emmanuel Hugonnet 2aff6504e1 ARTEMIS-4811 upgrade Netty to 4.1.111.Final
Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
2024-06-11 16:12:26 -05:00
Clebert Suconic 178f2e4b4d ARTEMIS-4812 Avoid IntObject accumulation after Page is set as complete
this could lead to OME if a lazy consumer is there for a long time with all pages being removed.
2024-06-11 12:03:08 -04:00
Justin Bertram 220a5ae2aa ARTEMIS-4796 add tests & remove refs 2024-06-10 14:03:00 -07:00
Justin Bertram 14c564a481 ARTEMIS-4800 simplify QueueConfiguration API
This commit does the following:

 - deprecate all QueueConfiguration ctors
 - add `of` static factory methods for all the deprecated ctors
 - replace any uses of the normal ctors with the `of` counterparts

This makes the code more concise and readable.
2024-06-10 07:58:40 -07:00
Gary Tully efdcc56519 NO-JIRA add transformer to bridge properties config test 2024-06-10 12:34:39 +01:00
Clebert Suconic 5be983392c ARTEMIS-4798 Use original message to calculate the Mirror SNF size in order to start paging 2024-06-07 11:10:12 -04:00
Timothy Bish fad1f5274c ARTEMIS-4799 Fix broker connection receiver attach handling
The receiver attach in broker connection does not wait for the remote
attach to arrive before creating the broker side receiver plumbing which
leads to the broker treating the remote sender as an anonymous relay when
it is not and should not be. Await the remote attach in response to the
attach sent by the broker connection to finish the link setup but use the
locally defined target address vs the remote to route the incoming messages.
2024-06-07 11:21:42 +01:00
Justin Bertram 4fde81813c
NO-JIRA fix Jolokia doc link 2024-06-06 22:35:23 -05:00
Timothy Bish ac1b483cb4 ARTEMIS-4801 Fix issue with caching address query results
When caching address query results the remote session can be blocked forever
from creating links on an address if the "does not exist" value is cached
since it is never updated again and will always report "does not exist" even
if the address is added manually via management later. The cache state can
cause other issues for long running sessions as well and should be removed
to avoid attach failures for cases where the current broker state could allow
the attach to succeed but the cached entry won't allow it.
2024-06-06 21:07:22 -04:00
Justin Bertram 7ca30e9a63 ARTEMIS-4796 simplify SimpleString API
This commit does the following:

 - deprecate the verbosely named `toSimpleString` static factory
   methods
 - add `of` static factory methods for all the ctors
 - replace any uses of the normal ctors with the `of` counterparts

This makes the code more concise and readable.
2024-06-06 11:53:03 -04:00
Clebert Suconic 047bc98cc3 NO-JIRA Reuse getMessageCount across RealServerTestBase 2024-06-05 17:33:02 -04:00
Justin Bertram c378ef9da7
NO-JIRA fix flow-control doc formatting 2024-06-05 10:18:36 -05:00
Robbie Gemmell 4ebb2cd41a ARTEMIS-4790: switch to timeout declarations with default units, tweak a few values 2024-06-05 11:40:33 +01:00
Justin Bertram de0f6ac8f5 ARTEMIS-4760 creating MQTT consumer should work if auto-create-queues is false 2024-06-05 09:06:53 +01:00
Timothy Bish 4daefbf138 ARTEMIS-4792 Allow consumer priority to be added to receiver link address
Allow the Source address to provide consumer priority on the address using the
same option value as a core consumer '?consumer-priority=X'. The change parses
any query string appended to an address and uses the address portion as the
actual receiver address and currently only looks at consumer priority values in
the extracted address query parameters and ignores any other options found. The
existing consumer priority taken from link properties takes precedence over the
value placed on the address query options if both are present.
2024-06-04 17:38:52 +01:00
Robbie Gemmell f5ecc5e219 ARTEMIS-4790: un-nest test classes to simplify 2024-06-04 12:55:00 +01:00
Clebert Suconic aade3b35f6 NO-JIRA Fixing intermittent test failures 2024-06-03 14:44:57 -04:00
Clebert Suconic 180e434b78 NO-JIRA Improving Test Reliability with max-read-page-bytes 2024-06-03 13:19:05 -04:00
Robbie Gemmell 8935b1150b ARTEMIS-4791: update to junit-5.10.2 2024-06-03 17:49:03 +01:00
Robbie Gemmell 362dbd11ac ARTEMIS-4790: use JUnit 5 for the tests 2024-06-03 10:06:37 -05:00
Clebert Suconic b9bb494b58 NO-JIRA Simplifying Test
No need to test functionality of the mirror. the intention was if the messages would arrive correctly.

Other tests are verfying functionality.
2024-06-01 14:16:40 -04:00
Clebert Suconic ae92b714e3 NO-JIRA Test improvements 2024-05-31 21:59:28 -04:00
Clebert Suconic add773e0fd NO-JIRA more information on test in case of failures 2024-05-31 16:42:25 -04:00