Commit Graph

10953 Commits

Author SHA1 Message Date
Justin Bertram ca66de4bde ARTEMIS-4834 support consuming messages forever with CLI 2024-08-28 11:47:29 +02:00
Timothy Bish 18e6f1a88d ARTEMIS-5007 Ensure mirror connection recovers from manual closures
If a user for some reason force closes the local mirror connection SNF
consumer or the actual connection but hasn't stopped the broker connection
itself the connection should recover and rebuild. The fix ensures that if
local connections are closed first then local session resources get freed.
2024-08-27 16:20:18 +01:00
Justin Bertram 13482519be ARTEMIS-5015 bump io.netty:netty-tcnative-boringssl-static from 2.0.65.Final to 2.0.66.Final 2024-08-26 16:26:04 -05:00
Justin Bertram 18e5d9a727 ARTEMIS-5014 bump com.puppycrawl.tools:checkstyle from 10.17.0 to 10.18.0 2024-08-26 16:25:21 -05:00
Clebert Suconic 38693370c9 Revert "ARTEMIS-5001 Option to relax sync on journal replication for Mirroring"
This reverts commit d41f01a5aa.
2024-08-26 12:49:42 -04:00
Robbie Gemmell ccbfa5e6e5 ARTEMIS-5011: update to postgresql 42.7.4 2024-08-26 16:46:42 +01:00
Justin Bertram 2883534152 ARTEMIS-5009 bump com.google.guava:guava from 33.2.1-jre to 33.3.0-jre 2024-08-22 14:17:09 -05:00
Justin Bertram a3bc210ca0 ARTEMIS-5008 Bump commons-logging:commons-logging from 1.3.3 to 1.3.4 2024-08-22 14:12:44 -05:00
Justin Bertram 567af46583 ARTEMIS-4999 bump plugin.components.maven.version from 3.9.8 to 3.9.9 2024-08-22 13:53:37 -05:00
Timothy Bish b58191bd52 ARTEMIS-5004 Clean up federation address consumer bindings proactively
When an address consumer explicitly closes or is closed we should remove the
address binding for that consumer right away instead of waiting for possible
configured auto delete as the demand is gone and we don't need to binding to
stick around any longer.
2024-08-21 17:04:18 +01:00
Robbie Gemmell 84f4d73f2f ARTEMIS-5005: update jetty to 10.0.23 2024-08-21 16:15:12 +01:00
Justin Bertram 18999a83bf ARTEMIS-5000 stop running most STOMP tests twice 2024-08-21 10:25:43 +01:00
Clebert Suconic ac666f3ab1 NO-JIRA Fixing typo on porOffset -> portOffset 2024-08-20 16:03:57 -04:00
Clebert Suconic d41f01a5aa ARTEMIS-5001 Option to relax sync on journal replication for Mirroring
Say you use Mirroring and journal replication combined.

The target will wait a round trip on replica before sends are done.
It is possible to ignore that rountrip now with an option added into Configuration#mirrorReplicaSync
2024-08-20 16:03:57 -04:00
Clebert Suconic 534526511f ARTEMIS-5003 User friendly error message in case profile file does not exist 2024-08-20 16:03:57 -04:00
Timothy Bish c932b75de6 ARTEMIS-4998 Fix Federation link close wrongly closing the connection
The federation sender links can react incorrectly when the source broker
closes a receiver because the demand is gone and they can result in the
remote broker closing its side of the connection causing the whole federation
to need to be rebuilt. Handle the closure events correctly to prevent an
unexpected close and rebuild.
2024-08-20 11:16:16 +01:00
Howard Gao c395db526c NO-JIRA Fix AnycastTest.testTxCommitReceive random failure 2024-08-20 11:15:47 +01:00
Robbie Gemmell 87cc15700f ARTEMIS-4996: update to junit 5.11.0
Move parameters out of base classes where needed to avoid clashes with
subclasses [re-]defining their own params. Needed due to change of
field + method annotation search handling to adopt Java hiding/shadowing
semantics, leading to ParameterizedTestExtension discovering both parent
and subclass parameter definition methods and throwing.
2024-08-19 11:51:39 +01:00
Robbie Gemmell 11611d091c ARTEMIS-4995: update to jgroups 5.3.11 2024-08-16 17:48:01 +01:00
Clebert Suconic c042fb9e13 [maven-release-plugin] prepare for next development iteration 2024-08-16 10:23:18 -04:00
Clebert Suconic 0ec68a93d3 [maven-release-plugin] prepare release 2.37.0 2024-08-16 10:23:17 -04:00
Clebert Suconic 57426379b8 updating versions.adoc 2024-08-16 10:06:34 -04:00
Howard Gao 1f79341c05 ARTEMIS-4973 pageSizeBytes/pageLimitBytes combination can cause Address full
Update docs/user-manual/paging.adoc

Co-authored-by: Robbie Gemmell <robbie@apache.org>
2024-08-16 09:41:53 -04:00
Clebert Suconic 583af58e43 ARTEMIS-4986 Tweaks on test: Disable load balancing and check for no messages 2024-08-15 20:47:56 -04:00
Robbie Gemmell 3f5184a933 ARTEMIS-4986: fixups for prior PR feedback 2024-08-15 09:13:46 -04:00
Robbie Gemmell 32e456c88a ARTEMIS-4994: update to Spring 5.3.39 2024-08-15 13:56:13 +01:00
Justin Bertram 003d91010c
This closes #5143 2024-08-14 13:53:49 -05:00
dependabot[bot] a72d393849
ARTEMIS-4992 Bump org.codehaus.mojo:exec-maven-plugin from 3.3.0 to 3.4.1
Bumps [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin) from 3.3.0 to 3.4.1.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/3.3.0...3.4.1)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:exec-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 13:53:23 -05:00
Justin Bertram 261a785ddb
This closes #5144 2024-08-14 13:52:15 -05:00
dependabot[bot] d3955fb18c
ARTEMIS-4991 Bump io.micrometer:micrometer-core from 1.13.2 to 1.13.3
Bumps [io.micrometer:micrometer-core](https://github.com/micrometer-metrics/micrometer) from 1.13.2 to 1.13.3.
- [Release notes](https://github.com/micrometer-metrics/micrometer/releases)
- [Commits](https://github.com/micrometer-metrics/micrometer/compare/v1.13.2...v1.13.3)

---
updated-dependencies:
- dependency-name: io.micrometer:micrometer-core
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 13:51:51 -05:00
Justin Bertram 6b0875108b
This closes #5140 2024-08-14 13:50:07 -05:00
dependabot[bot] dc280c89ca
ARTEMIS-4990 Bump selenium.version from 4.23.0 to 4.23.1
Bumps `selenium.version` from 4.23.0 to 4.23.1.

Updates `org.seleniumhq.selenium:selenium-api` from 4.23.0 to 4.23.1
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

Updates `org.seleniumhq.selenium:selenium-firefox-driver` from 4.23.0 to 4.23.1
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

Updates `org.seleniumhq.selenium:selenium-chrome-driver` from 4.23.0 to 4.23.1
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

Updates `org.seleniumhq.selenium:selenium-chromium-driver` from 4.23.0 to 4.23.1
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

Updates `org.seleniumhq.selenium:selenium-remote-driver` from 4.23.0 to 4.23.1
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

Updates `org.seleniumhq.selenium:selenium-support` from 4.23.0 to 4.23.1
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

---
updated-dependencies:
- dependency-name: org.seleniumhq.selenium:selenium-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.seleniumhq.selenium:selenium-firefox-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.seleniumhq.selenium:selenium-chrome-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.seleniumhq.selenium:selenium-chromium-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.seleniumhq.selenium:selenium-remote-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.seleniumhq.selenium:selenium-support
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 13:48:51 -05:00
Justin Bertram 42354a0e7b
This closes #5139 2024-08-14 13:46:04 -05:00
dependabot[bot] 4092b8f481
ARTEMIS-4989 Bump slf4j.version from 2.0.13 to 2.0.16
Bumps `slf4j.version` from 2.0.13 to 2.0.16.

Updates `org.slf4j:slf4j-simple` from 2.0.13 to 2.0.16

Updates `org.slf4j:slf4j-nop` from 2.0.13 to 2.0.16

Updates `org.slf4j:slf4j-api` from 2.0.13 to 2.0.16

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-simple
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.slf4j:slf4j-nop
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.slf4j:slf4j-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 13:45:26 -05:00
Clebert Suconic 209f293922 [maven-release-plugin] prepare for next development iteration 2024-08-14 14:39:34 -04:00
Clebert Suconic de6efc82d1 [maven-release-plugin] prepare release 2.37.0 2024-08-14 14:39:21 -04:00
Justin Bertram c415ff8d7c
This closes #5124 2024-08-14 13:24:41 -05:00
dependabot[bot] b57cfe9432
ARTEMIS-4987 Bump org.hamcrest:hamcrest from 2.2 to 3.0
Bumps [org.hamcrest:hamcrest](https://github.com/hamcrest/JavaHamcrest) from 2.2 to 3.0.
- [Release notes](https://github.com/hamcrest/JavaHamcrest/releases)
- [Changelog](https://github.com/hamcrest/JavaHamcrest/blob/master/CHANGES.md)
- [Commits](https://github.com/hamcrest/JavaHamcrest/compare/v2.2...v3.0)

---
updated-dependencies:
- dependency-name: org.hamcrest:hamcrest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 13:24:13 -05:00
Justin Bertram 23159fbf24
This closes #5123 2024-08-14 13:22:45 -05:00
dependabot[bot] b0e0287b2c
ARTEMIS-4987 Bump org.easymock:easymock from 5.3.0 to 5.4.0
Bumps [org.easymock:easymock](https://github.com/easymock/easymock) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/easymock/easymock/releases)
- [Changelog](https://github.com/easymock/easymock/blob/master/ReleaseNotes.md)
- [Commits](https://github.com/easymock/easymock/compare/easymock-5.3.0...easymock-5.4.0)

---
updated-dependencies:
- dependency-name: org.easymock:easymock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 13:21:57 -05:00
Justin Bertram 618738d48a
This closes #4966 2024-08-14 13:18:49 -05:00
Josh Byster 8b3874d613
ARTEMIS-4809 Allow configuring initial queue buffer size
In some setups, there could be a few hundred thousand queues that are
created due to many consumers that are connecting. However, most of
these are empty and stay empty for the entire day since there aren't
necessarily messages to be sent. The 8K intermediateMessageReferences
instantiates an 64KB buffer (Object[]). This means we have large
allocation and live heap that ultimately remains empty for almost the
entire day.

In this commit, we introduce initial-queue-buffer-size, which defaults
to the current value of 8192. It can be set programmatically via
QueueConfiguration#setInitialQueueBufferSize(int).

Note that this must be a positive power of 2.
2024-08-14 13:18:29 -05:00
Domenico Francesco Bruscino 7cf6b86bc5 ARTEMIS-4785 ARTEMIS-4702 Add profile and log4j2 files for non-run CLI commands
The run command uses the artemis.profile and log4j2.properties files while all
other CLI commands use the artemis-utility.profile and log4j2-default.properties
files.
2024-08-14 14:59:51 +01:00
Clebert Suconic fb7afa8ff3 ARTEMIS-4986 Allow configuring the target destination as well 2024-08-13 22:16:52 -04:00
Clebert Suconic 5adde5ef43 ARTEMIS-4986 Changing plugin to compile phase to make it simpler on CI 2024-08-13 20:18:11 -04:00
Clebert Suconic 4cc43323bc ARTEMIS-4986 incrementing version on activemq-version.properties 2024-08-13 16:33:00 -04:00
Clebert Suconic 10b6ab9bd3 ARTEMIS-4986 Providing a test that will look for the distribution from a System Variable
if you define TEST_ROLLED_DISTRIBUTION=your artemis home

testRollUpgrade_Provided_Distribution will execute the rolling upgrade from that distribution
2024-08-13 16:33:00 -04:00
Clebert Suconic 537e0023fc ARTEMIS-4986 Compatibility issue on Quorum Voting 2024-08-13 14:45:00 -04:00
Justin Bertram 0ecbae6108 ARTEMIS-4939 allow config of header sizes for embedded web server 2024-08-13 10:38:06 -05:00
Justin Bertram ef3b5fa02c ARTEMIS-4985 message priority occasionally broken
The test in this commit was distilled down from a much more complex
integration test that rarely reproduced the problem. It is short and
sweet and reproduces the problem every time.

The problem exists in the iterator's `remove()` method where it uses
`index` instead of `i` when calculating a new highest priority.
2024-08-12 14:55:25 -07:00