Commit Graph

11329 Commits

Author SHA1 Message Date
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
Christopher L. Shannon (cshannon) 2306a26aef AMQ-9156 - fix formatting
(cherry picked from commit 3bd099f469)
2022-11-03 10:45:08 -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
Jean-Baptiste Onofré c33af578bc
Merge pull request #914 from mattrpav/AMQ-9115
[AMQ-9115] Upgrade to commons-daemon 1.3.2
2022-10-31 17:43:25 +01:00
Jean-Baptiste Onofré 006cf2fffb
Merge pull request #915 from mattrpav/AMQ-9116
[AMQ-9116] Upgrade to jettison 1.5.1
2022-10-31 17:39:18 +01:00
Jean-Baptiste Onofré 5ab691ee91
Merge pull request #917 from mattrpav/AMQ-8572
[AMQ-8572] Remove unused commons-lang3 dependency
2022-10-31 08:44:33 +01:00
Jean-Baptiste Onofré 1ef6d5d6f1
Merge pull request #923 from jbonofre/AMQ-9133
[AMQ-9133] Upgrade to ASM 9.4
2022-10-30 16:35:03 +01:00
Jean-Baptiste Onofré 6b9036b25c
Merge pull request #925 from jbonofre/AMQ-9130
[AMQ-9130] Upgrade to jackson 2.13.4 and jackson-databind 2.13.4.1
2022-10-30 16:32:12 +01:00
Jonathan Gallimore 731ca3694a Update XJC plugin to 3.3.2 2022-10-24 11:22:25 +01:00
Jean-Baptiste Onofré 5cbaa0356d [AMQ-9130] Upgrade to jackson 2.13.4 and jackson-databind 2.13.4.1 2022-10-23 17:59:04 +02:00
Jean-Baptiste Onofré 6e7a4c66f1 [AMQ-9133] Upgrade to ASM 9.4 2022-10-23 17:51:14 +02:00
Jean-Baptiste Onofré e2fcae8bab
Merge pull request #699 from Dm-Chebotarskyi/main
AMQ-6148 Reusing LDAP context to avoid creating new connections
2022-10-19 05:59:44 +02:00
Matt Pavlovich c86ed31122
[AMQ-9112] Upgrade to Spring 5.3.23 (#910) 2022-10-18 13:07:57 -05:00
Matt Pavlovich be1a5ec68e
[AMQ-9114] Upgrade to log4j2 2.19.0 (#913) 2022-10-18 13:07:39 -05:00
Dmytro Chebotarskyi 610b87aed8 AMQ-6148 re-using LDAP context for authentication 2022-10-14 10:56:33 -07:00
Jean-Baptiste Onofré 96a011d4b1
Merge pull request #908 from lucastetreault/AMQ-9107
[AMQ-9107] Remove consumers more efficiently in ManagedRegionBroker
2022-10-13 05:58:04 +02:00
Jean-Baptiste Onofré 3bcbc5b847
Merge pull request #919 from lucastetreault/AMQ-9119
[AMQ-9119] Fix serialization of RemoveInfo advisory message for AMQP consumers
2022-10-13 05:54:09 +02:00
Lucas Tétreault e0a37a5c30 Fix serialization of RemoveInfo advisory message for AMQP consumers 2022-10-12 19:06:44 -07:00
Matt Pavlovich 4fa107e896 [AMQ-8572] Remove unsued commons-lang3 dependency 2022-10-11 10:29:36 -05:00
Matt Pavlovich e9b7afbe1f [AMQ-9116] Upgrade to jettison 1.5.1 2022-10-11 08:47:33 -05:00
Matt Pavlovich 68a1d6e612 [AMQ-9115] Upgrade to commons-daemon 1.3.2 2022-10-11 08:43:54 -05:00
Matt Pavlovich 3de38130ed [AMQ-9113] Upgrade to Jetty 9.4.49.v20220914 2022-10-11 08:33:12 -05:00
Lucas Tétreault b7f73d4875 remove consumers more efficiently 2022-10-10 13:40:01 -07:00
Hervé Boutemy bd53a5bcf2 improve Reproducible Builds 2022-09-22 08:28:22 +02:00
Jean-Baptiste Onofré 84c193df81
Merge pull request #904 from amazon-mq/remove-dead-code
[NO JIRA] Removing unused variable `concurrentStoreAndDispatchTransactions` in `KahaDBStore`
2022-09-09 07:43:44 +02: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
Dmytro Chebotarskyi 73f827f9a6 [NO JIRA] Removing unused concurrentStoreAndDispatchTransactions variable from KahaDBStore. Cleaning up related unused code. 2022-09-06 12:18:40 -07:00
Matt Pavlovich 91b8a3cebd
[NO-JIRA] Add a 'Verify' stage to perform release verfication steps on every build (#905)
- add apache-rat:check
 - Add exclude .ts to rat config
2022-09-03 13:10:02 -05:00
Matt Pavlovich ead9533d53
[AMQ-8322] JMS2 Implementation - JMSContext, JMSProducer, JMSConsumer first pass (#729) 2022-09-02 08:21:11 -05:00
Matt Pavlovich 8c74765618
[NO-JIRA] Update Jenkinsfile to include a JDK 17 build (#902) 2022-08-30 12:43:09 -05:00
Matt Pavlovich b55e8cd5d2
[AMQ-9065] Replace ianal-maven-plugin with geronimo tools-maven-plugin for JDK 17 support (#901) 2022-08-30 11:28:26 -05:00
Jean-Baptiste Onofré 8d8a27c7a7 Add missing ASF header 2022-08-24 09:39:54 +02:00
Jean-Baptiste Onofré c4a3e3b0f1
Merge pull request #897 from jbonofre/AMQ-9026
[AMQ-9026] Use Spring 5.x namespace location in activemq-osgi
2022-08-23 07:49:17 +02:00
Jean-Baptiste Onofré 4a03869074
Merge pull request #898 from jbonofre/AMQ-9057
[AMQ-9057] Don't include OSGi contract in activemq-osgi
2022-08-23 07:45:58 +02:00