Package org.apache.activemq.web
Class QueueBrowseServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.apache.activemq.web.QueueBrowseServlet
-
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
public class QueueBrowseServlet extends HttpServlet
Renders the contents of a queue using some kind of view. The URI is assumed to be the queue. The following parameters can be used- view - specifies the type of the view such as simple, xml, rss
- selector - specifies the SQL 92 selector to apply to the queue
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueueBrowseServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureRenderer(HttpServletRequest request, MessageRenderer renderer)
protected void
doGet(HttpServletRequest request, HttpServletResponse response)
protected MessageRenderer
getMessageRenderer(HttpServletRequest request)
protected Queue
getQueue(HttpServletRequest request, Session session)
protected String
getSelector(HttpServletRequest request)
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
-
-
-
Method Detail
-
doGet
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
- Overrides:
doGet
in classHttpServlet
- Throws:
ServletException
IOException
-
getMessageRenderer
protected MessageRenderer getMessageRenderer(HttpServletRequest request) throws IOException, ServletException
- Throws:
IOException
ServletException
-
configureRenderer
protected void configureRenderer(HttpServletRequest request, MessageRenderer renderer)
-
getSelector
protected String getSelector(HttpServletRequest request)
-
getQueue
protected Queue getQueue(HttpServletRequest request, Session session) throws JMSException
- Throws:
JMSException
-
-