mirror of https://github.com/apache/activemq.git
Stop the to connection first to avoid hanging on error.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639332 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c9c11074a8
commit
198dd34a9e
|
@ -107,8 +107,8 @@ public class NetworkLoadTest extends TestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void stop() throws JMSException {
|
public void stop() throws JMSException {
|
||||||
fromConnection.stop();
|
|
||||||
toConnection.stop();
|
toConnection.stop();
|
||||||
|
fromConnection.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void close() throws JMSException {
|
public void close() throws JMSException {
|
||||||
|
|
Loading…
Reference in New Issue