Minor fix in STOMP broker relay

This is a backport for a change made as part of:
113fd1180a

Issue: SPR-11884
This commit is contained in:
Rossen Stoyanchev
2014-06-29 16:54:17 -04:00
parent d18fc53148
commit 40c203ca71

View File

@@ -648,6 +648,8 @@ public class StompBrokerRelayMessageHandler extends AbstractBrokerMessageHandler
}
finally {
try {
// Prevent clearConnection() from trying to close
this.tcpConnection = null;
clearConnection();
}
catch (Throwable t) {