public class QpidRAQueueBrowser extends Object implements javax.jms.QueueBrowser
| Modifier and Type | Field and Description |
|---|---|
protected javax.jms.QueueBrowser |
_browser
The wrapped queue browser
|
protected QpidRASessionImpl |
_session
The session for this consumer
|
| Constructor and Description |
|---|
QpidRAQueueBrowser(javax.jms.QueueBrowser browser,
QpidRASessionImpl session)
Create a new wrapper
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close
|
Enumeration |
getEnumeration()
Get an enumeration for the current browser.
|
String |
getMessageSelector()
Get the message selector associated with this browser.
|
javax.jms.Queue |
getQueue()
Get the queue associated with this browser.
|
protected javax.jms.QueueBrowser _browser
protected QpidRASessionImpl _session
public QpidRAQueueBrowser(javax.jms.QueueBrowser browser,
QpidRASessionImpl session)
browser - the browsersession - the sessionpublic void close()
throws javax.jms.JMSException
close in interface javax.jms.QueueBrowserjavax.jms.JMSException - Thrown if an error occurspublic javax.jms.Queue getQueue()
throws javax.jms.JMSException
getQueue in interface javax.jms.QueueBrowserjavax.jms.JMSExceptionpublic String getMessageSelector() throws javax.jms.JMSException
getMessageSelector in interface javax.jms.QueueBrowserjavax.jms.JMSExceptionpublic Enumeration getEnumeration() throws javax.jms.JMSException
getEnumeration in interface javax.jms.QueueBrowserjavax.jms.JMSExceptionCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.