mirror of
https://github.com/apache/activemq.git
synced 2025-02-14 05:56:15 +00:00
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
|
||||
public void tearDown() throws Exception {
|
||||
if (dlqConnection != null) {
|
||||
dlqConnection.close();
|
||||
}
|
||||
super.tearDown();
|
||||
if (dlqSession != null) {
|
||||
dlqSession.close();
|
||||
}
|
||||
if (dlqConsumer != null) {
|
||||
dlqConsumer.close();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user