ARTEMIS-542 removing excessive warning from codebase

This commit is contained in:
Clebert Suconic 2016-08-10 16:09:05 -04:00
parent b7e5cc4845
commit 53bb3ea183
2 changed files with 1 additions and 5 deletions

View File

@ -86,10 +86,6 @@ public interface ActiveMQClientLogger extends BasicLogger {
@Message(id = 212005, value = "Tried {0} times to connect. Now giving up on reconnecting it.", format = Message.Format.MESSAGE_FORMAT)
void failedToConnectToServer(Integer reconnectAttempts);
@LogMessage(level = Logger.Level.WARN)
@Message(id = 212006, value = "Waiting {0} milliseconds before next retry. RetryInterval={1} and multiplier={2}", format = Message.Format.MESSAGE_FORMAT)
void waitingForRetry(Long interval, Long retryInterval, Double multiplier);
@LogMessage(level = Logger.Level.WARN)
@Message(id = 212007,
value = "connector.create or connectorFactory.createConnector should never throw an exception, implementation is badly behaved, but we will deal with it anyway.",

View File

@ -825,7 +825,7 @@ public class ClientSessionFactoryImpl implements ClientSessionFactoryInternal, C
}
if (ClientSessionFactoryImpl.logger.isTraceEnabled()) {
ActiveMQClientLogger.LOGGER.waitingForRetry(interval, retryInterval, retryIntervalMultiplier);
ClientSessionFactoryImpl.logger.trace("Waiting " + interval + " milliseconds before next retry. RetryInterval=" + retryInterval + " and multiplier=" + retryIntervalMultiplier);
}
try {