com.ibm.msg.client.jms
Interface JmsQueueBrowser
All Superinterfaces:
JmsPropertyContext, JmsReadablePropertyContext, java.util.Map<java.lang.String,java.lang.Object>, javax.jms.QueueBrowser, java.io.Serializable
All known implementing classes:
- public interface JmsQueueBrowser
- extends javax.jms.QueueBrowser, JmsPropertyContext
Session.createBrowser(javax.jms.Queue)
.
Note that an instance of java.util.Enumeration is used to hold the browse cursor. This means that each instance of this Enumeration will have one open handle to the underlying queue on which the JmsQueueBrowser is created. These open queues get closed only when the close() method of JmsQueueBrowser is called or when the queue does not have any more messages ( either when hasMoreElements() returns false, or nextElement() throws a NoSuchElementException ).
See Also:
QueueBrowser
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Method Summary
Methods inherited from interface javax.jms.QueueBrowser |
---|
close, getEnumeration, getMessageSelector, getQueue |
Methods inherited from interface com.ibm.msg.client.jms.JmsPropertyContext |
---|
setBatchProperties, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setShortProperty, setStringProperty |
Methods inherited from interface com.ibm.msg.client.jms.JmsReadablePropertyContext |
---|
getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |