activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r991536 - /activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ServerSessionImpl.java
Date Wed, 01 Sep 2010 13:46:04 GMT
Author: gtully
Date: Wed Sep  1 13:46:03 2010
New Revision: 991536

URL: http://svn.apache.org/viewvc?rev=991536&view=rev
Log:
resolve: https://issues.apache.org/activemq/browse/AMQ-2892 - apply suggested fix

Modified:
    activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ServerSessionImpl.java

Modified: activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ServerSessionImpl.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ServerSessionImpl.java?rev=991536&r1=991535&r2=991536&view=diff
==============================================================================
--- activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ServerSessionImpl.java
(original)
+++ activemq/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ServerSessionImpl.java
Wed Sep  1 13:46:03 2010
@@ -173,10 +173,10 @@ public class ServerSessionImpl implement
                 }
             } catch (Throwable e) {
                 stale = true;
-                if ( log.isInfoEnabled() ) {
+                if ( log.isDebugEnabled() ) {
+                    log.debug("Endpoint failed to process message.", e);
+                } else if ( log.isInfoEnabled() ) {
                     log.info("Endpoint failed to process message. Reason: " + e.getMessage());
                   
-                } else if ( log.isDebugEnabled() ) {
-                log.debug("Endpoint failed to process message.", e);
                 }
             } finally {
                 InboundContextSupport.unregister(this);



Mime
View raw message