fix shutdown order on close - broker may be gone before client

This commit is contained in:
gtully 2014-05-02 18:17:04 +01:00
parent 4215db2f26
commit 89e8767973
1 changed files with 3 additions and 6 deletions

View File

@ -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