From fb6af074475ba333637544e68c3a6fea6895d57d Mon Sep 17 00:00:00 2001 From: James Strachan Date: Sun, 23 Jul 2006 10:01:47 +0000 Subject: [PATCH] added logging if MessageListener objects throw exceptions git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@424698 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/activemq/ActiveMQMessageConsumer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java b/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java index 724340251a..db68816ffb 100755 --- a/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java +++ b/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java @@ -796,6 +796,7 @@ public class ActiveMQMessageConsumer implements MessageAvailableConsumer, StatsC // Transacted or Client ack: Deliver the next message. afterMessageIsConsumed(md, false); } + log.warn("Exception while processing message: " + e, e); } } else { unconsumedMessages.enqueue(md);