Polishing

This commit is contained in:
Juergen Hoeller
2021-03-12 15:17:54 +01:00
parent 6ffeee3e6f
commit 7b6cac2c93
5 changed files with 15 additions and 19 deletions

View File

@@ -1008,11 +1008,8 @@ public class DefaultMessageListenerContainer extends AbstractPollingMessageListe
}
}
if (!applyBackOffTime(execution)) {
StringBuilder msg = new StringBuilder();
msg.append("Stopping container for destination '")
.append(getDestinationDescription())
.append("': back-off policy does not allow ").append("for further attempts.");
logger.error(msg.toString());
logger.error("Stopping container for destination '" + getDestinationDescription() +
"': back-off policy does not allow for further attempts.");
stop();
}
}