If can't recover message id from the store - change error message

to debug. The problem occurs because the message has already been
dispatched

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@603881 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2007-12-13 10:56:07 +00:00
parent 388a5c4356
commit 3099953b72
1 changed files with 3 additions and 1 deletions

View File

@ -55,7 +55,9 @@ final class RecoveryListenerAdapter implements MessageRecoveryListener {
if (message != null) {
return recoverMessage(message);
} else {
LOG.error("Message id " + ref + " could not be recovered from the data store!");
if (LOG.isDebugEnabled()) {
LOG.debug("Message id " + ref + " could not be recovered from the data store - already dispatched");
}
}
return false;
}