Package com.webmethods.jms
Interface WmQueueBrowser
- All Superinterfaces:
javax.jms.QueueBrowser
public interface WmQueueBrowser
extends javax.jms.QueueBrowser
Interface defining webMethods extensions to javax.jms.QueueBrowser.
-
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the number of messages on the Broker available to the browser.Methods inherited from interface javax.jms.QueueBrowser
close, getEnumeration, getMessageSelector, getQueue
-
Method Details
-
available
long available() throws javax.jms.JMSExceptionGets 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.
-