mirror of https://github.com/apache/activemq.git
fix shutdown order on close - broker may be gone before client
This commit is contained in:
parent
4215db2f26
commit
89e8767973
|
@ -95,13 +95,10 @@ public class SecureDLQTest extends DeadLetterTestSupport {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void tearDown() throws Exception {
|
public void tearDown() throws Exception {
|
||||||
|
if (dlqConnection != null) {
|
||||||
|
dlqConnection.close();
|
||||||
|
}
|
||||||
super.tearDown();
|
super.tearDown();
|
||||||
if (dlqSession != null) {
|
|
||||||
dlqSession.close();
|
|
||||||
}
|
|
||||||
if (dlqConsumer != null) {
|
|
||||||
dlqConsumer.close();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue