Polishing

This commit is contained in:
Juergen Hoeller
2017-09-01 14:05:35 +02:00
parent 30bd5827b0
commit 97ded1dcc7
2 changed files with 7 additions and 2 deletions

View File

@@ -364,7 +364,9 @@ public class SimpleBrokerMessageHandler extends AbstractBrokerMessageHandler {
getClientOutboundChannel().send(reply);
}
catch (Throwable ex) {
logger.error("Failed to send " + message, ex);
if (logger.isErrorEnabled()) {
logger.error("Failed to send " + message, ex);
}
}
finally {
SessionInfo info = this.sessions.get(subscriptionEntry.getKey());