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:
@@ -648,6 +648,8 @@ public class StompBrokerRelayMessageHandler extends AbstractBrokerMessageHandler
|
|||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
try {
|
try {
|
||||||
|
// Prevent clearConnection() from trying to close
|
||||||
|
this.tcpConnection = null;
|
||||||
clearConnection();
|
clearConnection();
|
||||||
}
|
}
|
||||||
catch (Throwable t) {
|
catch (Throwable t) {
|
||||||
|
|||||||
Reference in New Issue
Block a user