Fixing failing XA JMS test due to
@@ -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);
