com.ibm.msg.client.jms
Interface JmsQueueBrowser
-
- All Superinterfaces:
- java.lang.AutoCloseable, JmsPropertyContext, JmsReadablePropertyContext, java.util.Map<java.lang.String,java.lang.Object>, javax.jms.QueueBrowser, java.io.Serializable
- All Known Implementing Classes:
- MQQueueBrowser
public interface JmsQueueBrowser extends javax.jms.QueueBrowser, JmsPropertyContext
JmsQueueBrowser interface - this is a javax.jms.QueueBrowser with properties. A client uses a JmsQueueBrowser to look at messages on a queue without removing them. A JmsQueueBrowser is created bySession.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 ).
Note: Although this class extends a class which implements the Serializable Interface, it is not itself Serializable.
- See Also:
QueueBrowser
-
-
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
-
-