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()) {
|
if (!this.info.isBrowser()) {
|
||||||
for (MessageDispatch old : list) {
|
for (MessageDispatch old : list) {
|
||||||
// ensure we don't filter this as a duplicate
|
// ensure we don't filter this as a duplicate
|
||||||
|
if (old.getMessage() != null) {
|
||||||
LOG.debug("on close, rollback duplicate: {}", old.getMessage().getMessageId());
|
LOG.debug("on close, rollback duplicate: {}", old.getMessage().getMessageId());
|
||||||
|
}
|
||||||
session.connection.rollbackDuplicate(this, old.getMessage());
|
session.connection.rollbackDuplicate(this, old.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue