Interface WmQueueBrowser

  • All Superinterfaces:
    javax.jms.QueueBrowser
    All Known Implementing Classes:
    WmClusterQueueBrowserImpl, WmQueueBrowserImpl

    public interface WmQueueBrowser
    extends javax.jms.QueueBrowser
    Interface defining webMethods extensions to javax.jms.QueueBrowser.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long available()
      Gets the number of messages on the Broker available to the browser.
      • Methods inherited from interface javax.jms.QueueBrowser

        close, getEnumeration, getMessageSelector, getQueue
    • Method Detail

      • available

        long available()
                throws javax.jms.JMSException
        Gets the number of messages on the Broker available to the browser. This is an approximate number in that some of the messages may be expired or don't match the browser's message selector.
        Returns:
        the number of messages available to the browser
        Throws:
        javax.jms.JMSException - if the JMS provider fails to get the number of available messages.