Justin Bertram
19d8059a4e
ARTEMIS-4794 configure pending ack behavior for bridge
...
When a bridge is stopped it doesn't wait for pending send
acknowledgements to arrive. However, when a bridge is paused it does
wait. The behavior should be consistent and more importantly
configurable. This commit implements these improvements and generally
refactors BridgeImpl to clarify and simplify the code. In total, this
commit includes the follow changes:
- Removes the hard-coded 60-second timeout for pending acks when
pausing the bridge and adds a new config parameter (i.e.
"pending-ack-timeout").
- Applies the new pending-ack-timeout when the bridge is stopped.
- Updates existing and adds new logging messages for clarity.
- De-duplicates code for sending bridge-related notifications.
- Avoids converting bridge name to/from SimpleString.
- Removes unnecessary comments.
- Renames variables & functions for clarity.
- Replaces the `started`, `stopping`, & `active` booleans with a
single `state` variable which is an enum.
- Adds `final` to a few variables that were functionally final.
- Synchronizes `stop` & `pause` methods to add safety when invoked
concurrently with `handle` (since both deal with `state` and execute
runnables on the ordered executor).
- Reorganizes and removes a few methods for clarity.
- Relocates `connect` method directly into `ConnectRunnable` (mirroring
the structure of the `StopRunnable` and `PauseRunnable`).
- Eliminates unnecessary variables in `ConnectRunnable` and
`ScheduledConnectRunnable`.
- Adds test to verify pending ack timeout works as expected with both
`stop` & `pause` with both regular and large messages.
2024-07-15 18:19:39 +01:00
Timothy Bish
1361e29739
ARTEMIS-4919 Handle Exception from proton transport process
...
Handle any exceptions from the proton transport and set the error on the
transport for processing in the events dispatch cycle by adding in handling
of the transport error event.
2024-07-15 15:34:21 +01:00
Robbie Gemmell
c9f509c929
ARTEMIS-4847: update jgroups to 5.3.9
2024-07-15 12:34:47 +01:00
Justin Bertram
0277c6498e
ARTEMIS-4914 clarify docs on core + client ID
...
This commit also adds a couple of tests to verify the documented
behavior works.
2024-07-12 11:03:04 -07:00
Justin Bertram
b8a9d626cd
ARTEMIS-4920 strip leading forward slash from IP address
2024-07-12 11:00:53 -07:00
Justin Bertram
fea2be6a3a
ARTEMIS-4921 include protocol name in disconnection log message
2024-07-11 10:31:17 -07:00
Justin Bertram
ac5713be81
ARTEMIS-4922 remove spurious warn msg when OpenWire client disconnects
2024-07-11 07:13:49 -07:00
Robbie Gemmell
b8ee43861e
ARTEMIS-4918: artemis-maven-plugin tweaks and cleanup
...
- switch to using maven-core instead of ancient maven-project dep
- set provided scope on various deps that should have it, fix warnings
- use transitive maven-resolver-api from -core, its also 'provided'
- add a property to update common component versions
2024-07-10 15:22:53 +01:00
Clebert Suconic
2f39db8270
NO-JIRA change one-test.sh to redirect test output to System.out
2024-07-10 10:03:29 -04:00
Robbie Gemmell
d80bd3ee6f
ARTEMIS-4895: use parent managed maven-plugin-plugin version, already 3.13.1 currently
2024-07-10 13:06:13 +01:00
Robbie Gemmell
e9bed5f077
ARTEMIS-4917: update to apache parent pom 33
2024-07-10 12:12:00 +01:00
Robbie Gemmell
894eca55b0
ARTEMIS-4872: remove superfluous+incorrect distributionManagement for non-deployed test module
2024-07-09 10:41:24 +01:00
Robbie Gemmell
899094b505
ARTEMIS-4847: update jgroups to 5.3.8
2024-07-08 14:43:00 +01:00
Robbie Gemmell
70e4cba881
ARTEMIS-4844: update jackson to 2.17.2
2024-07-08 12:41:27 +01:00
Clebert Suconic
0327fc31d8
ARTEMIS-3509 Concurrent Modification Exception on Stomp Transactions
...
Co-authored with Anant Sony
2024-07-05 14:30:58 -04:00
Robbie Gemmell
758ee8beac
ARTEMIS-4908: update to commons-logging 1.3.3
2024-07-04 16:23:29 +01:00
Robbie Gemmell
c6517f4c44
ARTEMIS-4863: remove unused pluginManagement entry for xml-maven-plugin
...
Not used for a decade, since 4b63891aaa
2024-07-04 14:46:02 +01:00
Robbie Gemmell
f6429e3345
ARTEMIS-4841: update jetty to 10.0.22
2024-07-04 12:31:04 +01:00
Robbie Gemmell
a6d45a7a05
ARTEMIS-4837: update to groovy 4.0.22
2024-07-04 12:29:44 +01:00
Robbie Gemmell
ccb1e46be6
ARTEMIS-4907: update commons-configuration2 to 2.11.0
2024-07-04 12:28:30 +01:00
Gary Tully
76877b7fb4
ARTEMIS-4905 fix conversion to millis for periodSeconds comparison in expiry plugin
2024-07-03 16:10:15 +01:00
Justin Bertram
e65001aead
NO-JIRA ignore jakarta.resource:jakarta.resource-api >= 2
2024-07-02 21:37:49 -05:00
Timothy Bish
3e31b7af48
ARTEMIS-4902 Put example XML for core federation in correct order
...
The downstream connection setup is not in correct XSD order and fails on start
of a broker if cut and pasted into broker configuration.
2024-07-02 10:48:00 -07:00
Justin Bertram
647dd3ff00
ARTEMIS-4903 use parent version of maven-plugin-tools
...
This override was originally added because Apache parent 31 was using
3.10.2 which was causing a failure during build. However, we're using
Apache parent 32 now which specifies 3.12.0 which works fine.
2024-07-02 11:37:13 -05:00
Robbie Gemmell
d9ee734782
ARTEMIS-4880: remove unnecessary dependency, not needed
2024-07-02 17:26:32 +01:00
Robbie Gemmell
78a0c4d233
ARTEMIS-4845: remove superfluous plugin config, not needed
2024-07-02 17:24:55 +01:00
Robbie Gemmell
3f2adcdc71
ARTEMIS-4845: dont define specific version, just use parent managed version that was already 5.1.9
2024-07-02 16:16:52 +01:00
Justin Bertram
f3f51c9a27
This closes #5053
2024-07-02 09:04:10 -05:00
dependabot[bot]
f80caddb02
ARTEMIS-4901 Bump owasp.version from 9.2.0 to 10.0.0
...
Bumps `owasp.version` from 9.2.0 to 10.0.0.
Updates `org.owasp:dependency-check-maven` from 9.2.0 to 10.0.0
- [Release notes](https://github.com/jeremylong/DependencyCheck/releases )
- [Changelog](https://github.com/jeremylong/DependencyCheck/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jeremylong/DependencyCheck/compare/v9.2.0...v10.0.0 )
Updates `org.owasp:dependency-check-core` from 9.2.0 to 10.0.0
- [Release notes](https://github.com/jeremylong/DependencyCheck/releases )
- [Changelog](https://github.com/jeremylong/DependencyCheck/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jeremylong/DependencyCheck/compare/v9.2.0...v10.0.0 )
Updates `org.owasp:dependency-check-utils` from 9.2.0 to 10.0.0
- [Release notes](https://github.com/jeremylong/DependencyCheck/releases )
- [Changelog](https://github.com/jeremylong/DependencyCheck/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jeremylong/DependencyCheck/compare/v9.2.0...v10.0.0 )
---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-maven
dependency-type: direct:production
update-type: version-update:semver-major
- dependency-name: org.owasp:dependency-check-core
dependency-type: direct:production
update-type: version-update:semver-major
- dependency-name: org.owasp:dependency-check-utils
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-02 09:03:31 -05:00
Robbie Gemmell
e626c568d2
ARTEMIS-4890: dont define specific version, just use parent managed version that was already 3.1.0
2024-07-02 11:47:06 +01:00
Justin Bertram
e376012266
This closes #5058
2024-07-01 22:38:16 -05:00
dependabot[bot]
0b48810c14
ARTEMIS-4900 Bump version.org.jacoco from 0.8.11 to 0.8.12
...
Bumps `version.org.jacoco` from 0.8.11 to 0.8.12.
Updates `org.jacoco:org.jacoco.core` from 0.8.11 to 0.8.12
- [Release notes](https://github.com/jacoco/jacoco/releases )
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.11...v0.8.12 )
Updates `org.jacoco:org.jacoco.ant` from 0.8.11 to 0.8.12
- [Release notes](https://github.com/jacoco/jacoco/releases )
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.11...v0.8.12 )
---
updated-dependencies:
- dependency-name: org.jacoco:org.jacoco.core
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: org.jacoco:org.jacoco.ant
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 22:37:59 -05:00
Justin Bertram
2072574db3
This closes #5057
2024-07-01 22:37:33 -05:00
dependabot[bot]
7d9707d1bc
ARTEMIS-4899 Bump org.apache.directory.jdbm:apacheds-jdbm2
...
Bumps org.apache.directory.jdbm:apacheds-jdbm2 from 2.0.0-M1 to 2.0.0-M3.
---
updated-dependencies:
- dependency-name: org.apache.directory.jdbm:apacheds-jdbm2
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 22:37:18 -05:00
Justin Bertram
ccf5cf5cfe
This closes #5056
2024-07-01 22:36:38 -05:00
dependabot[bot]
d783a37119
ARTEMIS-4898 Bump org.junit:junit-bom from 5.10.2 to 5.10.3
...
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5 ) from 5.10.2 to 5.10.3.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.2...r5.10.3 )
---
updated-dependencies:
- dependency-name: org.junit:junit-bom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 22:36:22 -05:00
Justin Bertram
e0a04bed7e
This closes #5055
2024-07-01 22:35:32 -05:00
dependabot[bot]
82f7f92d48
ARTEMIS-4897 Bump org.apache.servicemix.tooling:depends-maven-plugin
...
Bumps org.apache.servicemix.tooling:depends-maven-plugin from 1.2 to 1.5.0.
---
updated-dependencies:
- dependency-name: org.apache.servicemix.tooling:depends-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 22:35:10 -05:00
Justin Bertram
b67d7ed91a
This closes #5054
2024-07-01 22:34:35 -05:00
dependabot[bot]
1ad23f48de
ARTEMIS-4896 Bump org.hdrhistogram:HdrHistogram from 2.1.12 to 2.2.2
...
Bumps [org.hdrhistogram:HdrHistogram](https://github.com/HdrHistogram/HdrHistogram ) from 2.1.12 to 2.2.2.
- [Release notes](https://github.com/HdrHistogram/HdrHistogram/releases )
- [Commits](https://github.com/HdrHistogram/HdrHistogram/compare/HdrHistogram-2.1.12...HdrHistogram-2.2.2 )
---
updated-dependencies:
- dependency-name: org.hdrhistogram:HdrHistogram
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 22:34:13 -05:00
Justin Bertram
2ea75fc03c
This closes #5052
2024-07-01 22:33:25 -05:00
dependabot[bot]
7683606d2b
ARTEMIS-4895 Bump org.apache.maven.plugins:maven-plugin-plugin
...
Bumps [org.apache.maven.plugins:maven-plugin-plugin](https://github.com/apache/maven-plugin-tools ) from 3.6.0 to 3.13.1.
- [Release notes](https://github.com/apache/maven-plugin-tools/releases )
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.6.0...maven-plugin-tools-3.13.1 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-plugin-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 22:33:06 -05:00
Justin Bertram
f62b8d952b
This closes #5051
2024-07-01 22:32:35 -05:00
dependabot[bot]
7aef4cbfd9
ARTEMIS-4894 Bump com.google.guava:guava from 33.0.0-jre to 33.2.1-jre
...
Bumps [com.google.guava:guava](https://github.com/google/guava ) from 33.0.0-jre to 33.2.1-jre.
- [Release notes](https://github.com/google/guava/releases )
- [Commits](https://github.com/google/guava/commits )
---
updated-dependencies:
- dependency-name: com.google.guava:guava
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 22:32:17 -05:00
Justin Bertram
c2353eb6ee
This closes #5050
2024-07-01 22:31:36 -05:00
dependabot[bot]
f5b1fe7b59
ARTEMIS-4893 Bump org.codehaus.mojo:build-helper-maven-plugin
...
Bumps [org.codehaus.mojo:build-helper-maven-plugin](https://github.com/mojohaus/build-helper-maven-plugin ) from 1.8 to 3.6.0.
- [Release notes](https://github.com/mojohaus/build-helper-maven-plugin/releases )
- [Commits](https://github.com/mojohaus/build-helper-maven-plugin/compare/build-helper-maven-plugin-1.8...3.6.0 )
---
updated-dependencies:
- dependency-name: org.codehaus.mojo:build-helper-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 22:31:01 -05:00
Justin Bertram
52c117eeed
This closes #5049
2024-07-01 15:35:14 -05:00
dependabot[bot]
fd1b8a5c9a
ARTEMIS-4892 Bump io.micrometer:micrometer-core from 1.12.2 to 1.13.1
...
Bumps [io.micrometer:micrometer-core](https://github.com/micrometer-metrics/micrometer ) from 1.12.2 to 1.13.1.
- [Release notes](https://github.com/micrometer-metrics/micrometer/releases )
- [Commits](https://github.com/micrometer-metrics/micrometer/compare/v1.12.2...v1.13.1 )
---
updated-dependencies:
- dependency-name: io.micrometer:micrometer-core
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 15:34:51 -05:00
Justin Bertram
5b8d04e2b7
This closes #5048
2024-07-01 12:49:59 -05:00
dependabot[bot]
bcf5820747
ARTEMIS-4891 Bump org.hamcrest:hamcrest from 2.1 to 2.2
...
Bumps [org.hamcrest:hamcrest](https://github.com/hamcrest/JavaHamcrest ) from 2.1 to 2.2.
- [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.1...v2.2 )
---
updated-dependencies:
- dependency-name: org.hamcrest:hamcrest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 12:49:39 -05:00