code: public final AbstractItem removeFirstMatching(Filter filter, Transaction transaction) throws MessageStoreException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "removeFirstMatching", new Object[] { filter, transaction});
  
          PrioritizedList refs = _references();
          AbstractItem item = refs.removeFirstMatching(filter, (PersistentTransaction)transaction);
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "removeFirstMatching", item);
          return item;
      }
docs: /* (non-Javadoc)
  @see com.ibm.ws.sib.msgstore.ItemCollection#removeFirstMatching(com.ibm.ws.sib.msgstore.Filter, com.ibm.ws.sib.msgstore.Transaction)