Minor fix in STOMP broker relay

This is a backport for a change made as part of:
https://github.com/spring-projects/spring-framework/commit/113fd1180a14656a89d6d6639d259c577d70fbc5

Issue: SPR-11884
This commit is contained in:
Rossen Stoyanchev
2014-06-29 16:58:47 -04:00
parent d18fc53148
commit 40c203ca71
@@ -648,6 +648,8 @@ public class StompBrokerRelayMessageHandler extends AbstractBrokerMessageHandler
}
finally {
try {
// Prevent clearConnection() from trying to close
this.tcpConnection = null;
clearConnection();
}
catch (Throwable t) {