Commit Graph

11518 Commits

Author SHA1 Message Date
Michał Janczykowski 7de7ba2aa9 [AMQ-9199] Fixed race condition in creating store directory
A store directory is created by MessageDatabase#getPageFile which
is called in two cases:
1. KahaDBStore.start() when creating a queue
2. KahaDBStore.size() which is performed when sending any persistent message

If both methods are called concurrently it's possible to get an IOException
thrown from the IOHelper.mkdirs method.
2023-01-17 12:20:53 +01:00
Matt Pavlovich c58286487d
[#8133] Add s390x as a parameter for Jenkins (#956) 2023-01-14 14:14:00 -06:00
Matt Pavlovich 8ba765bbaf
[#9194] Add JDK 19 to Jenkins build (#955) 2023-01-12 09:06:29 -06:00
Christopher L. Shannon (cshannon) a083ff4d23 AMQ-9193 - Improve broker shutdown in unit tests
This should improve test reliability for the unit tests so brokers don't
hang around after the end of a test on error. Also increase the surefire
re-run count to 3 times before failing.
2023-01-11 06:21:21 -05:00
Christopher L. Shannon 05ffe8aca0
Merge pull request #954 from cshannon/rerun-tests
NO-JIRA - Set tests to rerun failing tests 2 times
2023-01-10 16:22:43 -05:00
Christopher L. Shannon (cshannon) 1b9bd133fd NO-JIRA - Set tests to rerun failing tests 2 times
This should help reduce failures from flaky tests and make the build
more reliable
2023-01-10 15:35:16 -05:00
Christopher L. Shannon 362d28cddf
Merge pull request #951 from cshannon/AMQ-9192
AMQ-9192 - Fix flaky AdvisoryTests
2023-01-10 15:29:10 -05:00
Christopher L. Shannon (cshannon) 044f5346e9 AMQ-9192 - Fix flaky AdvisoryTests
Properly shutdown broker for each test and speed up tests by sending
less messages
2023-01-10 12:29:33 -05:00
Jean-Baptiste Onofré 95bb3f3f49
Merge pull request #945 from jbonofre/AMQ-9176
[AMQ-9176] Upgrade to Apache POM 28
2022-11-29 14:01:40 +01:00
Jean-Baptiste Onofré 43c7c7c227 [AMQ-9176] Upgrade to Apache POM 28 2022-11-29 08:42:15 +01:00
Jean-Baptiste Onofré 8523eaeb07 Update spring.schemas 2022-11-29 08:06:21 +01:00
Jean-Baptiste Onofré 424be3ee8d This closes #943 2022-11-29 08:02:13 +01:00
Dmytro Chebotarskyi dc55028c00 Added additional logging on BrokerService startup 2022-11-29 07:51:20 +01:00
Jean-Baptiste Onofré 726cc68078
Merge pull request #944 from jbonofre/AMQ-9126
[AMQ-9126] Set jolokia.conf sys prop and escape cleanly on Windows platform
2022-11-29 07:41:43 +01:00
Jean-Baptiste Onofré 49626f07b6 [AMQ-9126] Set jolokia.conf sys prop and escape cleanly on Windows platform 2022-11-28 18:41:55 +01:00
Jean-Baptiste Onofré a530142fd5
Merge pull request #942 from jbonofre/AMQ-9102
[AMQ-9102] Add http.nonProxyHost support in HTTP transport
2022-11-25 18:24:14 +01:00
Jean-Baptiste Onofré 44a5539afc [AMQ-9102] Add http.nonProxyHost support in HTTP transport 2022-11-22 13:59:08 +01:00
Jean-Baptiste Onofré 75e6c5bddc
Merge pull request #941 from jbonofre/AMQ-9062
[AMQ-9062] Fix Web-ContextPath with Pax Web 8.0.x
2022-11-22 08:56:43 +01:00
Jean-Baptiste Onofré 9852cf1f49
Merge pull request #843 from stolsvik/main
AMQ-8617: RedeliveryPolicy:Exponential Backoff + NonBlockingRedelivery = too long delays
2022-11-22 08:55:43 +01:00
Christopher L. Shannon (cshannon) f83c5f1ba1 AMQ-9175 - Properly set broker on ConnectionContext inside
MemoryTransactionStores

This fixes a NPE when using the messageDelivered advisory and
transactions
2022-11-21 11:03:08 -05:00
Jean-Baptiste Onofré c563f6e355 [AMQ-9062] Fix Web-ContextPath with Pax Web 8.0.x 2022-11-21 14:51:45 +01:00
Jean-Baptiste Onofré 56d89303bd
Merge pull request #938 from jbonofre/AMQ-9174
[AMQ-9174] Upgrade to groovy 4.0.6
2022-11-21 14:19:28 +01:00
Jean-Baptiste Onofré 066aca6274
Merge pull request #939 from jbonofre/AMQ-9172
[AMQ-9172] Upgrade to jettison 1.5.2
2022-11-21 09:35:12 +01:00
Jean-Baptiste Onofré 1228fc4421 [AMQ-9174] Upgrade to groovy 4.0.6 2022-11-20 17:13:10 +01:00
Jean-Baptiste Onofré c79b71c2e7 [AMQ-9172] Upgrade to jettison 1.5.2 2022-11-20 17:12:46 +01:00
Jean-Baptiste Onofré c6e8267d4a
Merge pull request #940 from jbonofre/AMQ-9171
[AMQ-9171] Upgrade to shiro 1.10.1
2022-11-20 17:10:46 +01:00
Jean-Baptiste Onofré 42e1bf7467 [AMQ-9171] Upgrade to shiro 1.10.1 2022-11-20 07:44:11 +01:00
Jean-Baptiste Onofré 9381c67003
Merge pull request #936 from jbonofre/AMQ-9132
[AMQ-9132] Upgrade to mockito 4.8.1
2022-11-20 07:19:32 +01:00
Jean-Baptiste Onofré 20b6f3e3e1
Merge pull request #924 from jbonofre/AMQ-9131
[AMQ-9131] Upgrade to xbean 4.22
2022-11-20 07:18:24 +01:00
Jean-Baptiste Onofré e2b8e27f4c [AMQ-9132] Upgrade to mockito 4.8.1 2022-11-20 07:13:25 +01:00
Jean-Baptiste Onofré 421a2dedbf [AMQ-9131] Upgrade to xbean 4.22 2022-11-20 06:52:41 +01:00
Jean-Baptiste Onofré c8362b97f8
Merge pull request #934 from jbonofre/AMQ-9164
[AMQ-9164] Upgrade to jackson 2.14.0
2022-11-18 11:14:54 +01:00
Christopher L. Shannon (cshannon) 9f9a35eb29 AMQ-9157 - Add missing dispatched advisory topic to getAllDestinationAdvisoryTopics() method in AdvisorySupport
Adds missing dispached advisory topics to getAllDestinationAvisoryTopics()
method in AdvisorySupport which is used to clean up on destination removal
and also a note about virtual destination consumer advisories
2022-11-17 14:39:42 -05:00
Christopher L. Shannon (cshannon) f6e26085cf AMQ-9159 - Add a test case to verify inflight message stats for wildcard
consumer when a destination is removed
2022-11-17 09:02:43 -05:00
Jean-Baptiste Onofré 2b81946e34
Merge pull request #935 from jbonofre/AMQ-9120
[AMQ-9120] Upgrade to shiro 1.10.0
2022-11-17 05:03:57 +01:00
Jean-Baptiste Onofré a562b99431 [AMQ-9164] Upgrade to jackson 2.14.0 2022-11-16 18:49:43 +01:00
Jean-Baptiste Onofré f93c0ec4ee [AMQ-9120] Upgrade to shiro 1.10.0 2022-11-16 18:48:29 +01:00
Christopher L. Shannon (cshannon) b6540746a2 NO-JIRA: Add timeout for flaky test 2022-11-16 12:46:05 -05:00
Christopher L. Shannon (cshannon) 757a712890 AMQ-9168 - Send message expired advisory and not discard advisory when
Topic subscriptions expire a message

This fixes topic subs to send the right advisory type, if enabled, when
the server discards a message on dispatch to a topic sub. Also add some
more expiration tests for other subscription types
2022-11-16 06:43:21 -05:00
Christopher L. Shannon (cshannon) 8554a1464c (AMQ-9156, AMQ-9167) - Update TopicSubscription to use a new counter for
current dispatched count

The previous way of computing the count of using total dispatched minus
total dequeued didn't work in the case of destination removal and
messages were not acked. The counter is needed as the dispatched list is
optional unlike prefetch subs.
2022-11-15 16:59:01 -05:00
Christopher L. Shannon (cshannon) 85502a526d AMQ-9157 - Dispatched advisory should not fire for queue browsers
The dispatched advisory doesn't really make sense to send for queue
browsers, just like we don't send a consumed advisory, as it's more of
an admin type funtion to look at the contents of a queue but it's not a
real consumer that is receiving and acking messages.
2022-11-15 10:13:45 -05:00
Jean-Baptiste Onofré 133c7025c8
Merge pull request #911 from mattrpav/AMQ-9113
[AMQ-9113] Upgrade to Jetty 9.4.49.v20220914
2022-11-15 14:18:52 +01:00
Jean-Baptiste Onofré cc28773d57
Merge pull request #836 from hboutemy/main
improve Reproducible Builds
2022-11-15 14:12:10 +01:00
Matt Pavlovich c25975389f
[AMQ-9163] Add 'Started' attribute to ConnectorView (#932) 2022-11-14 09:03:44 -06:00
Jean-Baptiste Onofré 821e881172
Merge pull request #926 from jgallimore/xjc-plugin
Update XJC plugin to 3.3.2
2022-11-13 06:26:44 +01:00
Christopher L. Shannon (cshannon) c140d73fec AMQ-9157 - Include consumer id as part of Dispatched advisory 2022-11-11 13:53:47 -05:00
Christopher L. Shannon (cshannon) 39da75abdb AMQ-9157 - Add utility methods for dispatched advisory 2022-11-11 08:23:25 -05:00
Christopher L. Shannon f473efe163
Increase forkedProcessTimeoutInSeconds for tests to decrease timeout failures (#930) 2022-11-11 05:47:07 -05:00
Christopher L. Shannon (cshannon) 837df23be6 AMQ-9159 - In topic subscriptions only remove nodes from dispatched list if
they match the destination on destination removal
2022-11-10 16:17:02 -05:00
Christopher L. Shannon (cshannon) 76f612600d AMQ-9157 - Add a new optional advisory for dispatched messages 2022-11-03 14:30:33 -04:00