You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ra...@apache.org on 2006/11/14 07:27:35 UTC

svn commit: r474674 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/RoundRobinDispatchPolicy.java

Author: rajdavies
Date: Mon Nov 13 22:27:34 2006
New Revision: 474674

URL: http://svn.apache.org/viewvc?view=rev&rev=474674
Log:
log the the exception if an exception caught in rotating the consumers

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/RoundRobinDispatchPolicy.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/RoundRobinDispatchPolicy.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/RoundRobinDispatchPolicy.java?view=diff&rev=474674&r1=474673&r2=474674
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/RoundRobinDispatchPolicy.java (original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/RoundRobinDispatchPolicy.java Mon Nov 13 22:27:34 2006
@@ -68,7 +68,7 @@
             try {
                 consumers.add(consumers.remove(0));
             } catch (Throwable bestEffort) {
-                log.error("Caught error rotating consumers");
+                log.error("Caught error rotating consumers",bestEffort);
             }
             return count > 0;
         }