Merge branch 'AMQ-6959'

This closes #282
This commit is contained in:
Christopher L. Shannon (cshannon) 2018-05-14 09:01:00 -04:00
commit 365c1bbe9a
1 changed files with 3 additions and 1 deletions

View File

@ -950,7 +950,9 @@ public class ActiveMQSession implements Session, QueueSession, TopicSession, Sta
@Override
public void afterRollback() throws Exception {
LOG.trace("rollback {}", ack, new Throwable("here"));
if (LOG.isTraceEnabled()) {
LOG.trace("rollback {}", ack, new Throwable("here"));
}
// ensure we don't filter this as a duplicate
connection.rollbackDuplicate(ActiveMQSession.this, md.getMessage());