Commit Graph

178 Commits

Author SHA1 Message Date
Christopher L. Shannon f5fb6c91b2 AMQ-8398 - Fix Stomp to Stomp Unicode UTF-8 test
The connection receive was out of order and causing failures in some of
the Stomp tests like StompNIOSSL
2024-09-04 15:33:55 -04:00
Christopher L. Shannon 3ddf515597 AMQ-8398 - Fix Stomp to OpenWire UTF-8 translation
This commit fixes conversion of messages that are sent or received
using Stomp when the body contains characters that require 4 bytes
for encoding using standard UTF-8.

ActiveMQ and OpenWire currently use a modified UTF-8
encoding that only uses 3 bytes so the conversion previously was
breaking because the body was encoded using standard JDK UTF-8 encoding
and set directly on an ActiveMQText message which was leading to
decoding errors later when the ActiveMQMessage tried to decode using the
modified encoder. The reverse was also was true and was breaking
in some cases.

The fix now makes sure to correctly decode the Stomp message back to a
String first and set that on the ActiveMQ message so it can be
re-encoded correctly. The reverse is fixed as well so both
conversion from Stomp -> OpenWire and OpenWire -> Stomp work. Tests have
been added for Stomp -> OpenWire, OpenWire -> Stomp, and Stomp -> Stomp
which is really Stomp -> OpenWire -> Stomp.
2024-08-28 13:09:01 -04:00
Matt Pavlovich d0a435fe5b
Update main to 6.2.0-SNAPSHOT 2024-04-29 10:52:46 -05:00
JB Onofré 6084867b26 [maven-release-plugin] prepare for next development iteration 2024-04-11 19:41:29 +02:00
JB Onofré ceea6dac1c [maven-release-plugin] prepare release activemq-6.1.2 2024-04-11 19:41:18 +02:00
JB Onofré e025e443e6 [maven-release-plugin] prepare for next development iteration 2024-04-01 16:28:46 +02:00
JB Onofré 5690826111 [maven-release-plugin] prepare release activemq-6.1.1 2024-04-01 16:28:36 +02:00
JB Onofré 72bbb0c521 [maven-release-plugin] prepare for next development iteration 2024-03-11 14:41:18 +01:00
JB Onofré 5af7c1f550 [maven-release-plugin] prepare release activemq-6.1.0 2024-03-11 14:41:08 +01:00
huiyang 7d6362da73 Improve test reliability by resolving nondeterministic order of Json 2023-11-29 15:55:59 +01:00
JB Onofré 1747acaf03 Set version to 6.1.0-SNAPSHOT 2023-11-20 17:19:09 +01:00
JB Onofré dfd35d89f6 [maven-release-plugin] prepare for next development iteration 2023-11-14 08:13:24 +01:00
JB Onofré 14bac13f40 [maven-release-plugin] prepare release activemq-6.0.0 2023-11-14 08:13:14 +01:00
Jean-Baptiste Onofré 6172baff35 Cancel 6.0.0 release 2023-11-14 07:52:21 +01:00
JB Onofré 464efe0e6f [maven-release-plugin] prepare for next development iteration 2023-11-12 06:35:12 +01:00
JB Onofré 26b14ec994 [maven-release-plugin] prepare release activemq-6.0.0 2023-11-12 06:34:58 +01:00
JB Onofré dc4b584c7e
Merge pull request #237 from sigee/cleaning
Remove unnecessary boxing / unboxing
2023-10-19 16:03:52 +02:00
Matt Pavlovich 5f72c35b3b [AMQ-9310] Remove solaris support 2023-09-28 18:00:55 -05:00
JB Onofré d5ea415463 Set version to 6.0.0-SNAPSHOT 2023-09-15 16:27:34 +02:00
Matt Pavlovich 30127d3a66 [AMQ-9239] jakarta.jms - activemq-stomp changes 2023-08-24 09:45:31 -05:00
sigee 3ba93ed957 Remove unnecessary boxing / unboxing 2023-07-23 12:08:23 +02:00
u8675309 90f96a0299 [AMQ-9283] Fix memory leak with STOMP unsubscribe 2023-06-16 13:56:06 +02: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
Jean-Baptiste Onofré 1e8de860ad [AMQ-9223] Upgrade to slf4j 2.0.6 2023-02-19 08:11:54 +01:00
Matt Pavlovich abb0af278f [AMQ-8557] Upgrade log4j2 2.17.2
- Fix log4j2-test.properties rootLogger.level value
2022-04-11 13:14:59 -05: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
jbonofre 472dcf8497 [AMQ-7426] Upgrade to log4j2 2022-02-24 15:20:51 +01:00
Anthony F d9450cdd74 [AMQ-8409] Fixed Unexpected \\r instead of \r in header property in incoming messages 2022-01-19 18:12:46 +01:00
Matt Pavlovich 7579f48e8a [AMQ-8358] Update xstream to 1.4.18
- stomp tests pass now
 - xstream added allowed classes / packages feature
2021-09-27 12:06:28 -05:00
Jean-Baptiste Onofré 2e169f0bc3 [AMQ-8138] Set client IP address with Stomp host header 2021-08-03 11:08:54 +02:00
Jean-Baptiste Onofré db6098c53a
Merge pull request #365 from jgallimore/master-AMQ-7149
AMQ-7149 Remove dependency activemq-http and activemq-stomp
2021-03-24 11:36:04 +01:00
jbonofre c46f3a10b8 [AMQ-8176] Upgrade to mockito 3.8.0 2021-03-23 17:37:23 +01:00
jbonofre 0c1b3e9240 [AMQ-7444] Fallback to remote location for remote address when socket has not been created yet 2021-01-13 11:41:17 +01:00
jbonofre f247cbee94 Try to avoid JMX issue on StompTest 2020-11-18 11:41:40 +01:00
Benjamin Graf a2e718f259 AMQ-8055 - rename posion to correct poison 2020-10-23 09:50:18 +02:00
Christopher L. Shannon (cshannon) 17defa79d4 NO-JIRA: Update branch to 5.17.0-SNAPSHOT after release 2020-07-14 07:27:43 -04:00
Jean-Baptiste Onofré 334476ac63 [maven-release-plugin] prepare for next development iteration 2020-06-25 07:26:41 +02:00
Jean-Baptiste Onofré 86dd78b1aa [maven-release-plugin] prepare release activemq-5.16.0 2020-06-25 07:26:13 +02:00
Jean-Baptiste Onofré 6908749c2f Fix version 2020-06-25 07:13:04 +02:00
Jean-Baptiste Onofré ff2dae82f3 [maven-release-plugin] prepare release activemq-5.16.0 2020-06-24 21:56:52 +02:00
jbonofre 4ed2ba22a9 Cancel 5.16.0 release 2020-06-24 15:19:34 +02:00
Jean-Baptiste Onofré cd1e9f8697 [maven-release-plugin] prepare for next development iteration 2020-06-23 17:40:26 +02:00
Jean-Baptiste Onofré 2e890c6224 [maven-release-plugin] prepare release activemq-5.16.0 2020-06-23 17:39:53 +02:00
thodimi1 0c00e1b791
AMQ-7467 - A new XStream serializer is created on every message that flows through the broker causing high CPU utilization under load (#523)
[AMQ-7467] Reuse xstream serializer to reduce CPU usage.

Co-authored-by: murali.mogalayapalli <Murali.Mogalayapalli@tylertech.com>
2020-05-19 18:51:38 +02:00
jbonofre 08b389c220 [AMQ-7301] Propagate the exception in order to close the connection cleanly 2020-03-10 07:48:22 +01:00
jbonofre 58f5fdb572 [AMQ-7347] Fix potential NPE when JMSException doesn't contain linkedException 2020-03-10 06:23:27 +01:00
jbonofre b60efeaad8 [AMQ-7301] Improve logging when initialize Stomp NIO SSL connection 2020-03-05 15:00:53 +01:00
jbonofre 3c302dce33 [AMQ-7347] Don't log error in case of topic subscription failure. It's useless as the JMX exception is thrown and pollute the log. 2020-03-04 16:22:17 +01:00