mirror of https://github.com/apache/activemq.git
Don't log the pull timed out messages that might still be in the unconsumed list during rollback of unconsumed messages
This commit is contained in:
parent
82330793e9
commit
aaecdff8b4
|
@ -863,7 +863,9 @@ public class ActiveMQMessageConsumer implements MessageAvailableConsumer, StatsC
|
|||
if (!this.info.isBrowser()) {
|
||||
for (MessageDispatch old : list) {
|
||||
// ensure we don't filter this as a duplicate
|
||||
LOG.debug("on close, rollback duplicate: {}", old.getMessage().getMessageId());
|
||||
if (old.getMessage() != null) {
|
||||
LOG.debug("on close, rollback duplicate: {}", old.getMessage().getMessageId());
|
||||
}
|
||||
session.connection.rollbackDuplicate(this, old.getMessage());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue