activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r516067 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java
Date Thu, 08 Mar 2007 15:14:46 GMT
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();



Mime
View raw message