You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ra...@apache.org on 2007/03/08 16:14:46 UTC
svn commit: r516067 -
/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java
Author: rajdavies
Date: Thu Mar 8 07:14:45 2007
New Revision: 516067
URL: http://svn.apache.org/viewvc?view=rev&rev=516067
Log:
ensure connections are closed (so all messages are fludshed to the broker) before testing message delivery
Modified:
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java
Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java?view=diff&rev=516067&r1=516066&r2=516067
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java (original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java Thu Mar 8 07:14:45 2007
@@ -190,7 +190,7 @@
connection.send(ack);
}
// Commit
- connection.send(createCommitTransaction1Phase(connectionInfo, txid));
+ connection.request(createCommitTransaction1Phase(connectionInfo, txid));
// restart the broker.
restartBroker();