deliveries.remove(d.getReference().getMessageID());
deliveries.remove(d);
      public void afterCommit()      {         for(Iterator i = dels.iterator(); i.hasNext(); )         {            Delivery d = (Delivery)i.next();            if (log.isTraceEnabled()) { log.trace(this + " removing " + d + " after commit"); }            deliveries.remove(d.getReference().getMessageID());            d.getReference().releaseReference();         }         txToRemoveDeliveryCallbacks.remove(tx);      }   