activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r424698 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java
Date Sun, 23 Jul 2006 10:01:48 GMT
Author: jstrachan
Date: Sun Jul 23 03:01:47 2006
New Revision: 424698

URL: http://svn.apache.org/viewvc?rev=424698&view=rev
Log:
added logging if MessageListener objects throw exceptions

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java?rev=424698&r1=424697&r2=424698&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java
Sun Jul 23 03:01:47 2006
@@ -796,6 +796,7 @@
                             // Transacted or Client ack: Deliver the next message.
                             afterMessageIsConsumed(md, false);
                         }
+                        log.warn("Exception while processing message: " + e, e);
                     }
                 } else {
                     unconsumedMessages.enqueue(md);



Mime
View raw message