Commit Graph

615 Commits

Author SHA1 Message Date
JB Onofré ee0edaf1f2 [maven-release-plugin] prepare release activemq-5.18.4 2024-04-08 08:25:14 +02:00
Jean-Baptiste Onofré 0e7c607758 AMQ-9438: Don't log full stack trace when lookup failure happens in FailoverTransport
(cherry picked from commit ea92ade33a)
2024-03-03 16:58:46 +01:00
Christopher L. Shannon (cshannon) b92479cd2e AMQ-9418 - Support converting jakarta jms exceptions to javax
This fixes the OpenWire v12 marshaller so that if an exception is
received by a jakarta based broker the client will convert back to a
javax jms exception type.

This commit also updates activemq-client-jakarta to do the proper
mapping in the reverse.
2024-01-16 14:11:59 -05:00
Christopher L. Shannon (cshannon) d979d7c226 AMQ-9370 - Improve Openwire marshaller validation test
(cherry picked from commit 5719e5df2e)
2023-10-26 17:56:41 -04:00
Jean-Baptiste Onofré 7d9074e8c8 [maven-release-plugin] prepare for next development iteration 2023-10-24 21:44:02 +02:00
Jean-Baptiste Onofré 5f6edd9781 [maven-release-plugin] prepare release activemq-5.18.3 2023-10-24 21:43:52 +02:00
JB Onofré c08d32e470 [maven-release-plugin] rollback the release of activemq-5.18.3 2023-10-24 17:38:56 +02:00
JB Onofré 6c5351a9c9 [maven-release-plugin] prepare for next development iteration 2023-10-24 16:46:32 +02:00
JB Onofré 206adbdab4 [maven-release-plugin] prepare release activemq-5.18.3 2023-10-24 16:46:20 +02:00
Christopher L. Shannon (cshannon) 958330df26 AMQ-9370 - Openwire marshaller should validate Throwable class type
(cherry picked from commit 3eaf3107f4)
2023-10-24 08:13:39 -04:00
Nicolas Filotto 087d6aed5c [AMQ-9255] Initialize the transient field of the class Message (#1051)
(cherry picked from commit 538b04aa0c)
2023-10-03 07:59:25 -04:00
Matt Pavlovich f14f78ddc7 [AMQ-8325] JMS 2.0 XA supported operations
- Backported jakarta.jms -> javax.jms imports

(cherry picked from commit da2f1376b2)
2023-09-19 09:15:29 -05:00
JB Onofré 20ed8ba70f [maven-release-plugin] prepare for next development iteration 2023-06-27 14:46:32 +02:00
JB Onofré 9cbf58d7bd [maven-release-plugin] prepare release activemq-5.18.2 2023-06-27 14:46:22 +02:00
JB Onofré 21f5c5a458 [maven-release-plugin] prepare for next development iteration 2023-04-10 07:25:30 +02:00
JB Onofré 37fb15d3b3 [maven-release-plugin] prepare release activemq-5.18.1 2023-04-10 07:25:19 +02:00
JB Onofré 1637f9e35c [maven-release-plugin] rollback the release of activemq-5.18.1 2023-04-08 07:38:33 +02:00
JB Onofré 10a5af7bde [maven-release-plugin] prepare for next development iteration 2023-04-06 17:54:56 +02:00
JB Onofré 619be166f2 [maven-release-plugin] prepare release activemq-5.18.1 2023-04-06 17:54:48 +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 2ee6bb0c79
[AMQ-9218] Jakarta transition module for activemq-client (#968) 2023-03-13 07:03:17 -04: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) 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 ed9631f02c
[AMQ-9058] Upgrade javacc-maven-plugin to 3.0.1 (#900) 2023-02-03 14:00:56 -06: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) 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) 39da75abdb AMQ-9157 - Add utility methods for dispatched advisory 2022-11-11 08:23:25 -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
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
Enrico Olivelli a978eb5115 AMQ-9052: Selectors - improve perfomance of Equals and Not 2022-08-17 10:42:37 +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
Lucas Tétreault 7b3f13feda Clean up remaining Xalan references
Empty
2022-08-05 00:43:02 -07:00
Matt Pavlovich 680717cb95
[AMQ-8976] Add maxConnectionExceededCount metric for connectors (#850) 2022-07-18 16:20:25 -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
Endre Stølsvik 393a696955 AMQ-8617: RedeliveryPolicy:Exponential Backoff + NonBlockingRedelivery = too long delays
Scenario on client:

1. Employing RedeliveryPolicy with exponential backoff (keeping maximum
redeliveries at default 6)
2. Enabled non-blocking redelivery
3. Receiving e.g. 100 consecutive poison messages (which eventually
should DLQ after max redeliveries)

This will result in massive redelivery delays due to a logic bug.

The reason is that redeliveryDelay is a field variable kept on the
ActiveMQMessageConsumer, instead of being a property on the message - or
that the redelivery delay was calculated per message based on the
redelivery count.

When consecutive messages rollbacks multiple times, the redeliveryDelay
field is continuously multiplied by the backoff multiplier, resulting in
enormous delays.

Fix: Ditch the field variable, instead calculating the redeliveryDelay
per delivery from the redelivery count. (This happens to be identical to
how it is done in afterRollback() in ActiveMQSession:1004.)

Test is added - which fails with the previous code, and passes with
this. Added a debug log line for the calculated delay.
2022-05-31 01:56:30 +02:00
Jean-Baptiste Onofré 0849ae0211 [AMQ-8518] Avoid NPE if path is null (at startup) 2022-04-18 16:52:46 +02:00
Christopher L. Shannon 4ae145352b
Merge pull request #812 from cshannon/AMQ-8550
AMQ-8550 - Check for null keystore/truststore passwords
2022-04-05 13:36:09 -04:00
Christopher L. Shannon b93d58259c AMQ-8550 - Check for null keystore/truststore passwords
Inside ActiveMQSslConnectionFactory the passwords should be checked for
null so a NPE isn't thrown. Null will be passed to the factories instead
and the keystore/truststore factories will try and load the keystores
using null for the password which may or may not work depending on the
implementation and if password is set.
2022-04-05 12:17:14 -04:00
Robbie Gemmell 558bb8cf88 AMQ-8569: set xstream osgi import optional to match with its dependency declaration 2022-04-05 15:44:16 +01:00
Jean-Baptiste Onofré 9ba7aab24d [AMQ-8533] Fix maven-bundle-plugin instructions to avoid shading all packages 2022-03-09 20:51:56 +01:00
Christopher L. Shannon (cshannon) 00253b3219 NO-JIRA: Updating next development version to 5.18.0-SNAPSHOT 2022-03-01 09:36:34 -05:00
Jean-Baptiste Onofré e597017200
Merge pull request #662 from jbonofre/AMQ-7426
[AMQ-7426] Upgrade to log4j2
2022-02-27 13:23:53 +01:00
Matt Pavlovich 094dbc89f3
[AMQ-8515] FailoverTransport should handle MaxFrameSizeExceededException (#785) 2022-02-25 19:46:45 -06:00