[cxf] branch master updated: Fixing failing XA JMS test due to AMQ-2659

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[cxf] branch master updated: Fixing failing XA JMS test due to AMQ-2659

coheigea
Administrator
This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 75c8d79  Fixing failing XA JMS test due to AMQ-2659
75c8d79 is described below

commit 75c8d7909718a7b394bb855b2ce5b7f5c6d1e345
Author: Colm O hEigeartaigh <[hidden email]>
AuthorDate: Thu Jul 23 16:07:20 2020 +0100

    Fixing failing XA JMS test due to AMQ-2659
---
 .../java/org/apache/cxf/transport/jms/util/MessageListenerTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/util/MessageListenerTest.java b/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/util/MessageListenerTest.java
index 0a0f005..4cbf47f 100644
--- a/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/util/MessageListenerTest.java
+++ b/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/util/MessageListenerTest.java
@@ -182,7 +182,7 @@ public class MessageListenerTest {
 
     private static Connection createXAConnection(String name, TransactionManager tm) throws JMSException {
         ActiveMQXAConnectionFactory cf = new ActiveMQXAConnectionFactory("vm://" + name
-                                                                         + "?broker.persistent=false");
+                                                                         + "?broker.persistent=false&jms.xaAckMode=1");
         cf.setRedeliveryPolicy(redeliveryPolicy());
         XaPooledConnectionFactory cfp = new XaPooledConnectionFactory(cf);
         cfp.setTransactionManager(tm);