code: public SIMPIterator getTransmitMessagesIterator(int maxMsgs) throws SIMPControllableNotFoundException, SIMPRuntimeOperationFailedException
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "getTransmitMessagesIterator");
  
      assertValidControllable();
  
      SIMPIterator msgItr = null;
      try
      {
        msgItr = new SourceStreamSetXmitMessageIterator(maxMsgs);
      }
      catch (SIResourceException e)
      {
        FFDCFilter.processException(
            e,
            "com.ibm.ws.sib.processor.runtime.SourceStreamSetControl.getTransmitMessagesIterator",
            "1:283:1.39",
            this);
  
          SIMPRuntimeOperationFailedException finalE =
            new SIMPRuntimeOperationFailedException(
              nls.getFormattedMessage(
                "INTERNAL_MESSAGING_ERROR_CWSIP0002",
                new Object[] {"SourceStreamSetControl.getTransmitMessagesIterator",
                    "1:291:1.39",
                              e},
                null), e);
  
          SibTr.exception(tc, finalE);
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "getTransmitMessagesIterator", finalE);
          throw finalE;
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "getTransmitMessagesIterator", msgItr);
  
      return msgItr;
    }
docs: /* (non-Javadoc)
  @see com.ibm.ws.sib.processor.runtime.SIMPPtoPOutboundTransmitControllable#getTransmitMessagesIterator()