webMethods Broker API for JMS
Version 9.5.1.0.171 091713

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
 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.

webMethods Broker API for JMS
Version 9.5.1.0.171 091713


Copyright © 2001 - 2013 Software AG Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, United States of America, and/or their suppliers.