mirror of https://github.com/apache/activemq.git
log the the exception if an exception caught in rotating the consumers
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474674 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2d64943d45
commit
7a3de7693b
|
@ -68,7 +68,7 @@ public class RoundRobinDispatchPolicy implements DispatchPolicy {
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue