Class ActiveMQQueueBrowser
- java.lang.Object
-
- org.apache.activemq.artemis.jms.client.ActiveMQQueueBrowser
-
- All Implemented Interfaces:
AutoCloseable,javax.jms.QueueBrowser
public final class ActiveMQQueueBrowser extends Object implements javax.jms.QueueBrowser
ActiveMQ Artemis implementation of a JMS QueueBrowser.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedActiveMQQueueBrowser(ConnectionFactoryOptions options, ActiveMQQueue queue, String messageSelector, ClientSession session, boolean enable1xPrefixes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()EnumerationgetEnumeration()StringgetMessageSelector()javax.jms.QueuegetQueue()StringtoString()
-
-
-
Constructor Detail
-
ActiveMQQueueBrowser
protected ActiveMQQueueBrowser(ConnectionFactoryOptions options, ActiveMQQueue queue, String messageSelector, ClientSession session, boolean enable1xPrefixes) throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
-
-
Method Detail
-
close
public void close() throws javax.jms.JMSException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfacejavax.jms.QueueBrowser- Throws:
javax.jms.JMSException
-
getEnumeration
public Enumeration getEnumeration() throws javax.jms.JMSException
- Specified by:
getEnumerationin interfacejavax.jms.QueueBrowser- Throws:
javax.jms.JMSException
-
getMessageSelector
public String getMessageSelector() throws javax.jms.JMSException
- Specified by:
getMessageSelectorin interfacejavax.jms.QueueBrowser- Throws:
javax.jms.JMSException
-
getQueue
public javax.jms.Queue getQueue() throws javax.jms.JMSException- Specified by:
getQueuein interfacejavax.jms.QueueBrowser- Throws:
javax.jms.JMSException
-
-