if (log.isTraceEnabled()) { log.trace(this + " added " + d + " to memory on transaction " + tx); }
if (trace) { log.trace(this + " added " + d + " to memory on transaction " + tx); }
   public void acknowledge(Delivery d, Transaction tx) throws Throwable   {      // Transactional so add a post commit callback to remove after tx commit      RemoveDeliveryCallback callback = addRemoveDeliveryCallback(tx);            callback.addDelivery(d);            if (log.isTraceEnabled()) { log.trace(this + " added " + d + " to memory on transaction " + tx); }   }