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:
MQQueueBrowser

  1. public interface JmsQueueBrowser
  2. 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 by 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