Commit Graph

11926 Commits

Author SHA1 Message Date
Christopher L. Shannon e1bcbb9f3e
Merge pull request #1290 from cshannon/AMQ-8398-stomp-fix
AMQ-8398 - Fix Stomp to OpenWire UTF-8 translation
2024-08-28 15:04:01 -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
Paul Gale f1379cd613 Remove JDK_JAVA_OPTIONS usage in wrapper.conf. Moved to wrapper.java.additional.x options. 2024-08-28 11:47:25 -04:00
Ken Liao 2dab16172e Set cache-control to no-store by default for stronger security 2024-08-22 22:11:29 -07:00
Matt Pavlovich e45ee4aae5 [NO-JIRA] Disable deploy stage by default 2024-08-16 10:57:28 -06:00
Christopher L. Shannon 5b2cc03030
Merge pull request #1278 from cshannon/AMQ-9547
AMQ-9547 - Remove setLength() and usage from RecoverableRandomAccessFile
2024-08-08 16:13:26 -04:00
Christopher L. Shannon 5f79b651c2 AMQ-9547 - Remove setLength() and usage from RecoverableRandomAccessFile
This method always throws an exception so it should be removed and no
longer used. Places in PageFile that called the method have been updated
to either remove the usage or throw an error.
2024-08-08 12:29:35 -04:00
JB Onofré 74086d70bc Fix bom (release plugin doesn't accept properties) 2024-07-31 17:25:53 +02:00
JB Onofré 962608fb4f
Merge pull request #1223 from jbonofre/AMQ-9493
AMQ-9493: Upgrade to maven-plugin-plugin 3.13.1
2024-07-25 21:14:47 +02:00
JB Onofré 7b49d0c34f AMQ-9493: Upgrade to maven-plugin-plugin 3.13.1 2024-07-25 17:44:10 +02:00
Matt Pavlovich ff543d3133 [AMQ-9539] Make tests and deploy configurable 2024-07-24 08:47:48 -05:00
Matt Pavlovich 03a9771fe4 [AMQ-9539] Add sonar quality analysis to Jenkins 2024-07-23 16:47:45 -05:00
JB Onofré 6b6f5fbe24
Merge pull request #1264 from levrun/enhanced_for_loop_advisory_broker
for loop can be replaced with enhanced for
2024-07-22 16:53:25 +02:00
JB Onofré 6fd08a5ffe
Merge pull request #1265 from AlexejTimonin/typo-in-readme
Typo, with -> will
2024-07-22 16:52:26 +02:00
Alexej Timonin 163fabb7a4 Typo, with -> will 2024-07-20 19:00:37 +02:00
Aleksei Eraskin 2a5194a99b for loop can be replaced with enhanced for 2024-07-19 17:30:12 -07:00
Matt Pavlovich ea2b4f817a [AMQ-9521] Uprgade Spring 6.1.11 2024-07-16 12:53:57 -05:00
Matt Pavlovich 8ae41a4a37 [AMQ-9535] Upgrade slf4j 2.0.13 2024-07-16 12:51:53 -05:00
Matt Pavlovich 5309352e12 [AMQ-9533] Add Backup command that uses activemq-protobuf (to replace export) 2024-07-16 08:08:26 -05:00
Matt Pavlovich dad947fe4a [AMQ-9484] Support exporting kahadb messages from a queue with an offset
(cherry picked from commit 1a1b42f0c9)
2024-07-16 08:08:26 -05:00
JB Onofré 4a0bb48881
Merge pull request #1257 from mattrpav/AMQ-9531-b
[AMQ-9531] Fix regression causing export command to fail
2024-07-14 06:32:34 +02:00
JB Onofré 95af27c512
Merge pull request #1260 from levrun/enhanced_for_loop_transport_connection
for loop can be replaced with enhanced for
2024-07-13 06:50:30 +02:00
Aleksei Eraskin d00cbe5b5c for loop can be replaced with enhanced for 2024-07-12 16:44:09 -07:00
Matt Pavlovich d9673c76fa
[AMQ-9531] Fix regression causing export command to fail 2024-07-11 19:24:10 -05:00
Matt Pavlovich 4e3084d9bb [AMQ-9527] Upgrade commons-logging 1.3.3 2024-07-09 12:18:53 -05:00
Matt Pavlovich 9ffbcd0580 [AMQ-9526] Upgrade Jolokia 2.0.3 2024-07-09 12:12:53 -05:00
Matt Pavlovich c1975f8981 [AMQ-9525] Upgrade Camel 4.4.3 2024-07-09 12:05:50 -05:00
Matt Pavlovich b75eb0ab18 [AMQ-9524] Upgrade JAXB 4.0.5 / jaxb-tools 4.0.8 2024-07-09 12:01:43 -05:00
Matt Pavlovich 382dfa5679 [AMQ-9523] Upgrade Jackson 2.17.2 2024-07-09 11:54:22 -05:00
Matt Pavlovich a112a1958d [AMQ-9522] Upgrade Jetty 11.0.22 2024-07-09 11:50:51 -05:00
Matt Pavlovich 13cd87c281 [AMQ-9521] Upgrade Spring 6.1.10 2024-07-09 11:43:39 -05:00
JB Onofré 0e24799687
Merge pull request #1233 from jbonofre/AMQ-9508
AMQ-9508: Upgrade to commons-logging 1.3.2
2024-06-26 14:33:10 +02:00
JB Onofré 20d74d0702
Merge pull request #1237 from PascalSchumacher/KahaDBStore_fix_typo
KahaDBStore: Fix typo in comment and remove duplicate semicolon
2024-06-26 14:07:32 +02:00
PascalSchumacher 3b450d9778 KahaDBStore: Fix typo in comment and remove duplicate semicolon 2024-06-24 19:39:58 +02:00
JB Onofré 09c7043807 AMQ-9508: Upgrade to commons-logging 1.3.2 2024-06-22 07:38:52 +02:00
JB Onofré 645e2b084a
Merge pull request #1235 from jbonofre/AMQ-9510
AMQ-9510: Upgrade to jmock 2.13.1
2024-06-22 07:37:34 +02:00
JB Onofré 7aad5eaaa3
Merge pull request #1234 from jbonofre/AMQ-9509
AMQ-9509: Upgrade to Jetty 11.0.21
2024-06-22 07:37:09 +02:00
JB Onofré 27e2614452
Merge pull request #1232 from jbonofre/AMQ-9507
AMQ-9507: Upgrade to commons-daemon 1.4.0
2024-06-22 07:36:43 +02:00
Matt Pavlovich c465330be5 [AMQ-9455] DestinationPolicy support for MessageInterceptorStrategy 2024-06-13 12:52:32 -05:00
JB Onofré 9d11e0d7e9
Merge pull request #1231 from jbonofre/AMQ-9506
AMQ-9506: Upgrade to Jackson 2.17.1
2024-06-11 17:27:41 +02:00
JB Onofré 6bdb8e26e0
Merge pull request #1229 from jbonofre/AMQ-9498
AMQ-9498: Upgrade to xbean 4.25
2024-06-11 11:50:09 +02:00
JB Onofré 6001e812e7 AMQ-9510: Upgrade to jmock 2.13.1 2024-06-11 10:28:32 +02:00
JB Onofré a0321b24a7 AMQ-9509: Upgrade to Jetty 11.0.21 2024-06-11 10:28:16 +02:00
JB Onofré 52b2ea68cd AMQ-9507: Upgrade to commons-daemon 1.4.0 2024-06-11 10:27:25 +02:00
JB Onofré 789ca4939d
Merge pull request #1236 from kenliao94/add_dependency_check_plugin
Upgrade owasp dependency check
2024-06-11 10:26:29 +02:00
Ken Liao 21a6821281 Upgrade owasp dependency check 2024-06-03 16:36:10 -07:00
JB Onofré ba0f7b6690 AMQ-9506: Upgrade to Jackson 2.17.1 2024-05-30 11:13:57 +02:00
JB Onofré d9b795c7c4 AMQ-9498: Upgrade to xbean 4.25 2024-05-30 11:12:03 +02:00
JB Onofré 50ea73f1d5
Merge pull request #1230 from jbonofre/AMQ-9511
AMQ-9511: Upgrade to Spring 6.1.8
2024-05-30 11:09:43 +02:00
JB Onofré 814871a048
Merge pull request #1228 from jbonofre/AMQ-9497
AMQ-9497: Upgrade to maven-jar-plugin 3.4.1
2024-05-30 11:09:16 +02:00