Commit Graph

1285 Commits

Author SHA1 Message Date
Christopher L. Shannon 901956d4dd
AMQ-9262 - Fix network subscriptions for composite consumers (#1014)
This fixes network subscriptions that are generated on demand when a
consumer uses composite destinations. Before this fix conduit
subscriptions didn't work correctly. This fix now splits up the
composite dest and generates correct demand for each of the individual
destinations.
2023-06-07 07:18:18 -04:00
Matt Pavlovich 67f5afa0f4 [AMQ-9259] Remove activemq-partition and zookeeper test dependency 2023-05-22 11:00:51 -05:00
Matt Pavlovich 9a5b61f6a2
[AMQ-9257] Disabled expire message checking when pauseDispatch=true (#1005) 2023-05-19 08:06:53 -05:00
Matt Pavlovich 6b277a4903
[AMQ-9239] Host joram jms unit tests ahead of converting to jakarta.jms (#1002)
Merging now for jakarta work, may backout later
2023-04-27 08:37:43 -05:00
Matt Pavlovich 5ca71dfee6
[AMQ-9234] Remove JournalJDBC store and activeio dependency (#993) 2023-03-29 08:38:25 -05:00
JB Onofré 6e5838d82d Move version to 5.19.0-SNAPSHOT 2023-03-28 16:11:10 +02:00
Jean-Baptiste Onofré 6edfdf7c17 [maven-release-plugin] prepare for next development iteration 2023-03-18 06:47:58 +01:00
Jean-Baptiste Onofré f18f3223fa [maven-release-plugin] prepare release activemq-5.18.0 2023-03-18 06:47:47 +01:00
JB Onofré e4fb4a2d4e
Merge pull request #986 from mattrpav/AMQ-9230
[AMQ-9230] Upgrade jmdns to 3.5.8 (new GAV)
2023-03-14 06:20:47 +01:00
Matt Pavlovich 413dfa9532
[AMQ-5137] make networkConnector decreaseNetworkConsumerPriority="true" the default (#771) 2023-03-13 20:00:36 -06:00
JB Onofré 030d1b5035
Merge pull request #981 from jbonofre/AMQ-9223
[AMQ-9223] Upgrade to slf4j 2.0.6
2023-03-11 07:28:32 +01:00
Matt Pavlovich 122b8f213a [AMQ-9230] Upgrade jmdns to 3.5.8 (new GAV) 2023-03-10 09:52:29 -06:00
Matt Pavlovich 642ec302cc
[AMQ-9225] Remove j2ee management dependency as it is no longer part of JEE spec (#983) 2023-03-07 11:13:41 -06:00
Jean-Baptiste Onofré 1e8de860ad [AMQ-9223] Upgrade to slf4j 2.0.6 2023-02-19 08:11:54 +01:00
Christopher L. Shannon 9fe24cd8e3
AMQ-7309 - Implement Message#isBodyAssignableTo and Message#getBody methods (#979)
AMQ-7309 - Implement Message#isBodyAssignableTo and Message#getBody
methods
2023-02-16 18:03:14 -05:00
Christopher L. Shannon (cshannon) ee14778305 AMQ-7309 - remove test after adding support for jms 2 create session 2023-02-15 18:05:17 -05:00
Christopher L. Shannon (cshannon) 2c69e30748 AMQ-7309 - Implement JMS 2.0 createSession methods
Adds a real implemention for createSession() and createSession(ackMode)
methods on ActiveMQConnection
2023-02-15 08:33:00 -05:00
Matt Pavlovich 28f7eb7ee8 [AMQ-9217] Fix per-destination audits on IndividualDeadLetterStrategy 2023-02-08 09:56:03 -06:00
Matt Pavlovich 34454567c8
[AMQ-9207] Upgrade various dependencies (#964)
com.thoughtworks.xstream:xstream .................... 1.4.19 -> 1.4.20
commons-daemon:commons-daemon ......................... 1.3.2 -> 1.3.3
org.apache.ant:ant ................................ 1.10.12 -> 1.10.13
org.apache.shiro:shiro-core ......................... 1.10.1 -> 1.11.0
org.apache.shiro:shiro-spring ....................... 1.10.1 -> 1.11.0
org.codehaus.jettison:jettison ........................ 1.5.2 -> 1.5.3
regexp:regexp ............................................. 1.3 -> 1.5
org.apache.httpcomponents:httpclient ................ 4.5.13 -> 4.5.14
org.apache.httpcomponents:httpcore .................. 4.4.15 -> 4.4.16

- regexp/regexp -> jakarta-regexp/jakarta/regexp
2023-02-03 14:01:46 -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 (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é 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
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
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) 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
Matt Pavlovich c25975389f
[AMQ-9163] Add 'Started' attribute to ConnectorView (#932) 2022-11-14 09:03:44 -06: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) 76f612600d AMQ-9157 - Add a new optional advisory for dispatched messages 2022-11-03 14:30:33 -04:00
Christopher L. Shannon (cshannon) 58666afffd AMQ-9156 - Make sure in flight metrics are properly decremented on
subscription destroys and dispatch failures
2022-11-03 10:38:02 -04:00
Christopher L. Shannon (cshannon) d46b74d674 AMQ-9107 - rework performance improvement for consumer closing in
managed region broker

This new approach just looks matching Subscriptions from the region for the
destination which prevents having to store another map and falls back to
the old approach if something went wrong.
2022-11-03 06:43:55 -04:00
Christopher L. Shannon (cshannon) ea10d984d0 AMQ-9152: Make test classes abstract to fix surefire plugin 2022-11-01 17:49:35 -04:00
Christopher L. Shannon (cshannon) 596ee31687 AMQ-9153: Fix slow consumer advisory for queue subscriptions
Due to changes with Queues to check if consumers are full before adding
more messages to the subscription, the Queue dispatch logic needed to be
updated to mark subscriptions as slow and send advisories if configured
instead of relying on the subscription itself to do it.
2022-11-01 10:29:53 -04:00
Christopher L. Shannon (cshannon) ba0b7a25a0 AMQ-9152: Fix surefire setup to run all tests that are not excluded 2022-11-01 06:38:27 -04:00
Lucas Tétreault 98b7d3443c Add a test for offline durable subscriptions for AMQ-9107 2022-11-01 07:06:15 +01:00
Robbie Gemmell 52574a794a AMQ-9074: use -noindex to remove various .js files, disable html source listings for javadoc 2022-09-07 18:02:01 -04:00
Matt Pavlovich ead9533d53
[AMQ-8322] JMS2 Implementation - JMSContext, JMSProducer, JMSConsumer first pass (#729) 2022-09-02 08:21:11 -05:00
Jean-Baptiste Onofré 8d8a27c7a7 Add missing ASF header 2022-08-24 09:39:54 +02:00
Matt Pavlovich 82a2374764 [AMQ-8981] Fix CustomBridgeFactoryTest 2022-08-22 17:11:05 -05:00
Jean-Baptiste Onofré 3a56bca3fd
Merge pull request #894 from jbonofre/AMQ-9030
[AMQ-9030] Upgrade to maven-antrun-plugin 3.0.0
2022-08-18 07:15:40 +02:00
Jean-Baptiste Onofré 7006570c1d
Merge pull request #842 from eolivelli/AMQ-8613
AMQ-8613 Improve performance of selectors with a big sequence of OR and AND logical expressions
2022-08-17 07:47:06 +02:00
Jean-Baptiste Onofré fb3dea3656 [AMQ-9030] Upgrade to maven-antrun-plugin 3.0.0 2022-08-17 06:54:34 +02:00
Lucas Tétreault e550748b4c [AMQ-9005] remove xalan dependency due to it being end of life 2022-07-30 22:45:48 -07:00
Matt Pavlovich 680717cb95
[AMQ-8976] Add maxConnectionExceededCount metric for connectors (#850) 2022-07-18 16:20:25 -05:00
Matt Pavlovich a1b2e3ae02
[AMQ-8978] Clean up WARNs in activemq-unit-tests (#852) 2022-06-29 09:08:22 -05:00
Matt Pavlovich 6598ec5717
[AMQ-8977] Upgrade to mockito 4.6.1 (#851) 2022-06-29 09:08:08 -05:00
Enrico Olivelli 4b08978062 AMQ-8613 Improve performance of selectors with a big sequence of OR and AND logical expressions 2022-05-31 12:07:23 +02:00