XMLWordPrintable

      public void removeAllMessages() throws JMSException
      {
      boolean trace = log.isTraceEnabled();
      if (trace)
      log.trace("removeAllMessages " + this);

      // Drop scheduled messages
      for (Iterator i = events.entrySet().iterator(); i.hasNext()
      {
      Map.Entry entry = (Map.Entry) i.next();
      MessageReference message = (MessageReference) entry.getKey();
      Timeout timeout = (Timeout) entry.getValue();

      timeout could be null

      See also clearEvents

              adrian.brock Adrian Brock (Inactive)
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: