activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r516063 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/advisory/AdvisoryBrokerTest.java
Date Thu, 08 Mar 2007 14:53:41 GMT
Author: rajdavies
Date: Thu Mar  8 06:53:40 2007
New Revision: 516063

URL: http://svn.apache.org/viewvc?view=rev&rev=516063
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/advisory/AdvisoryBrokerTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/advisory/AdvisoryBrokerTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/advisory/AdvisoryBrokerTest.java?view=diff&rev=516063&r1=516062&r2=516063
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/advisory/AdvisoryBrokerTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/advisory/AdvisoryBrokerTest.java
Thu Mar  8 06:53:40 2007
@@ -163,7 +163,7 @@
         assertEquals(((ConsumerInfo)m1.getDataStructure()).getConsumerId(), consumerInfo2.getConsumerId());
 
         // Close the second connection.
-        connection2.send(closeConnectionInfo(connectionInfo2));
+        connection2.request(closeConnectionInfo(connectionInfo2));
         connection2.stop();
 
         // We should get an advisory of the consumer closing



Mime
View raw message