Package org.apache.activemq.web
Class QueueBrowseQuery
- java.lang.Object
-
- org.apache.activemq.web.DestinationFacade
-
- org.apache.activemq.web.QueueBrowseQuery
-
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
- Direct Known Subclasses:
MessageQuery
public class QueueBrowseQuery extends DestinationFacade implements org.springframework.beans.factory.DisposableBean
-
-
Constructor Summary
Constructors Constructor Description QueueBrowseQuery(BrokerFacade brokerFacade)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected QueueBrowser
createBrowser()
void
destroy()
QueueBrowser
getBrowser()
Queue
getQueue()
String
getSelector()
Session
getSession()
boolean
isQueue()
void
setBrowser(QueueBrowser browser)
void
setQueue(Queue queue)
void
setSelector(String selector)
-
Methods inherited from class org.apache.activemq.web.DestinationFacade
addDestination, createDestination, getBrokerAdmin, getBrokerFacade, getJMSDestination, getJMSDestinationType, getPhysicalDestinationName, getQueueView, getSupportedHttpMethods, getValidDestination, redirectToBrowseView, redirectToDestinationView, redirectToRequest, removeDestination, setJMSDestination, setJMSDestinationType, toString
-
-
-
-
Constructor Detail
-
QueueBrowseQuery
public QueueBrowseQuery(BrokerFacade brokerFacade) throws JMSException
- Throws:
JMSException
-
-
Method Detail
-
destroy
public void destroy() throws Exception
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
Exception
-
getBrowser
public QueueBrowser getBrowser() throws JMSException
- Throws:
JMSException
-
setBrowser
public void setBrowser(QueueBrowser browser)
-
getQueue
public Queue getQueue() throws JMSException
- Throws:
JMSException
-
setQueue
public void setQueue(Queue queue)
-
getSelector
public String getSelector()
-
setSelector
public void setSelector(String selector)
-
getSession
public Session getSession() throws JMSException
- Throws:
JMSException
-
isQueue
public boolean isQueue()
- Overrides:
isQueue
in classDestinationFacade
-
createBrowser
protected QueueBrowser createBrowser() throws JMSException
- Throws:
JMSException
-
-