mirror of https://github.com/apache/activemq.git
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:
parent
7339c6efea
commit
fb6af07447
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue