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
- Version:
- $Revision: $
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueueBrowseServlet
public QueueBrowseServlet()
doGet
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doGet
in class HttpServlet
- 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
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.