activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r603881 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/RecoveryListenerAdapter.java
Date Thu, 13 Dec 2007 10:56:07 GMT
Author: rajdavies
Date: Thu Dec 13 02:56:07 2007
New Revision: 603881

URL: http://svn.apache.org/viewvc?rev=603881&view=rev
Log:
If can't recover message id from the store - change error message
to debug. The problem occurs because the message has already been
dispatched

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/RecoveryListenerAdapter.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/RecoveryListenerAdapter.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/RecoveryListenerAdapter.java?rev=603881&r1=603880&r2=603881&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/RecoveryListenerAdapter.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/RecoveryListenerAdapter.java
Thu Dec 13 02:56:07 2007
@@ -55,7 +55,9 @@
         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;
     }



Mime
View raw message