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
This commit is contained in:
James Strachan 2006-07-23 10:01:47 +00:00
parent 7339c6efea
commit fb6af07447
1 changed files with 1 additions and 0 deletions

View File

@ -796,6 +796,7 @@ public class ActiveMQMessageConsumer implements MessageAvailableConsumer, StatsC
// Transacted or Client ack: Deliver the next message. // Transacted or Client ack: Deliver the next message.
afterMessageIsConsumed(md, false); afterMessageIsConsumed(md, false);
} }
log.warn("Exception while processing message: " + e, e);
} }
} else { } else {
unconsumedMessages.enqueue(md); unconsumedMessages.enqueue(md);