mirror of https://github.com/apache/activemq.git
AMQ-6959
Avoid creating a Throwable in case of non-trace logging
This commit is contained in:
parent
b8cfab97db
commit
2a95348182
|
@ -950,7 +950,9 @@ public class ActiveMQSession implements Session, QueueSession, TopicSession, Sta
|
|||
|
||||
@Override
|
||||
public void afterRollback() throws Exception {
|
||||
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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue