docs: private void removeStateItemStreams(Transaction transaction)
      throws SIResourceException
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "removeStateItemStreams", transaction );
  
      try
      {
        // Clean up mqlink state stream. This is a raw itemstream so
        // we do this "by hand". 
        if( _mqLinkStateItemStream != null && _mqLinkStateItemStream.isInStore()) 
        {
          Item item = null;
      
          while (null != (item = _mqLinkStateItemStream.findFirstMatchingItem(null)))
          {
            item.remove(transaction, NO_LOCK_ID);
          }
          
          // Now remove the itemstream itself
          _mqLinkStateItemStream.remove(transaction, NO_LOCK_ID);        
        }
        
        // Clean up pubsub bridge state itemstream.
        // Note that pubsub bridge should already have tidied up contained
        // itemstreams. This does a final tidy and removes the state itemstream
        // itself.  Must check that this is not in store as we may have the item stream
        // from a previous failed delete
        if( _mqLinkPubSubBridgeItemStream != null && _mqLinkPubSubBridgeItemStream.isInStore()) 
        {
          _mqLinkPubSubBridgeItemStream.removeAll(transaction);
        }
        
        // Set refs to null removed as we may fail the delete later.
  //      _mqLinkStateItemStream = null;
  //      _mqLinkPubSubBridgeItemStream = null;  
      }
      catch (MessageStoreException e)
      {
        // FFDC
        FFDCFilter.processException(
          e,
          "com.ibm.ws.sib.processor.impl.MQLinkHandler.removeStateItemStreams",
          "1:910:1.71",
          this);
  
        SibTr.exception(tc, e);
  
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
          SibTr.exit(tc, "removeStateItemStreams", e);
  
        throw new SIResourceException(e);
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "removeStateItemStreams");
    }