Update ActiveMQ Artemis to 2.26.0 and fix org.apache.cxf.jms.testsuite.testcases... main
authorAndriy Redko <drreta@gmail.com>
Sun, 2 Oct 2022 20:33:31 +0000 (16:33 -0400)
committerAndriy Redko <drreta@gmail.com>
Sun, 2 Oct 2022 20:33:31 +0000 (16:33 -0400)
parent/pom.xml
rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSMessageHeadersType.java

index 451f0c096e32bb2fc24df6a5b4dbc7a54e276a6e..f400fb8e63a7598236375add68c44b767473cc2c 100644 (file)
@@ -58,7 +58,7 @@
         <cxf.easymock.version>4.3</cxf.easymock.version>
 
         <!-- please maintain alphabetical order here -->
-        <cxf.activemq.artemis.version>2.21.0</cxf.activemq.artemis.version>
+        <cxf.activemq.artemis.version>2.26.0</cxf.activemq.artemis.version>
         <cxf.ahc.version>2.12.3</cxf.ahc.version>
         <cxf.apacheds.version>2.0.0.AM26</cxf.apacheds.version>
         <cxf.arquillian.version>1.1.14.Final</cxf.arquillian.version>
index 57f7364981d806ea8c2ca9384893f0efad7c8432..16e5a9fa667c1ff6f8cd506c485ab98d336311a5 100644 (file)
@@ -379,7 +379,7 @@ public class JMSMessageHeadersType {
     }
 
     public void writeProp(Message jmsMessage, String origName, Object value) throws JMSException {
-        String name = origName.replace(".", "__");
+        String name = origName.replace(".", "__").replace("-", "___");
         if (value == null) {
             jmsMessage.setStringProperty(name, null);
             return;