code: public int getNumberOfActiveMessages()
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
        SibTr.entry(tc, "getNumberOfActiveMessages");
      int activeMessages = 
        (int)_sourceStream.countAllMessagesOnStream();
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
        SibTr.exit(tc, "getNumberOfActiveMessages", new Integer(activeMessages));      
      return activeMessages;
    }
docs: /* (non-Javadoc)
  @see com.ibm.ws.sib.processor.runtime.SIMPDeliveryStreamTransmitControllable#getNumberOfActiveMessages