activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r639332 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java
Date Thu, 20 Mar 2008 16:00:26 GMT
Author: chirino
Date: Thu Mar 20 09:00:25 2008
New Revision: 639332

URL: http://svn.apache.org/viewvc?rev=639332&view=rev
Log:
Stop the to connection first to avoid hanging on error.

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java?rev=639332&r1=639331&r2=639332&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/NetworkLoadTest.java
Thu Mar 20 09:00:25 2008
@@ -107,8 +107,8 @@
 		}
 		
 		public void stop() throws JMSException {
+		        toConnection.stop();
 			fromConnection.stop();
-			toConnection.stop();
 		}
 		
 		public void close() throws JMSException {



Mime
View raw message