com.caucho.jms.connection
Class MessageBrowserImpl
java.lang.Object
com.caucho.jms.connection.MessageBrowserImpl
- All Implemented Interfaces:
- QueueBrowser
public class MessageBrowserImpl
- extends java.lang.Object
- implements QueueBrowser
A basic message consumer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MessageBrowserImpl
public MessageBrowserImpl(JmsSession session,
AbstractQueue queue,
java.lang.String messageSelector)
throws JMSException
- Throws:
JMSException
getQueue
public Queue getQueue()
throws JMSException
- Specified by:
getQueue
in interface QueueBrowser
- Throws:
JMSException
getMessageSelector
public java.lang.String getMessageSelector()
throws JMSException
- Specified by:
getMessageSelector
in interface QueueBrowser
- Throws:
JMSException
getEnumeration
public java.util.Enumeration getEnumeration()
throws JMSException
- Specified by:
getEnumeration
in interface QueueBrowser
- Throws:
JMSException
close
public void close()
throws JMSException
- Specified by:
close
in interface QueueBrowser
- Throws:
JMSException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object