code: public long getNumberOfQueuedMessages()
    {
      long count = 0;
      try
      {
        count = itemStream.getStatistics().getTotalItemCount();
      }
      catch (MessageStoreException e)
      {
        FFDCFilter.processException(
            e,
            "com.ibm.ws.sib.processor.runtime.LocalQueuePoint.getNumberOfQueuedMessages",
            "1:494:1.58", 
            this);
        SibTr.exception(tc, e);
      }    
      return count;
    }
docs: /* (non-Javadoc)
  @see com.ibm.ws.sib.processor.runtime.SIMPLocalQueuePointControllable#getNumberOfQueuedMessages()