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
(cherry picked from commit aaecdff8b4
)
This commit is contained in:
parent
7894d8a9a1
commit
857254b75b
|
@ -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