Home » activemq-parent-5.3.1-source-release » org.apache » activemq » web » view » [javadoc | source]
org.apache.activemq.web.view
public class: SimpleMessageRenderer [javadoc | source]
java.lang.Object
   org.apache.activemq.web.view.SimpleMessageRenderer

All Implemented Interfaces:
    MessageRenderer

Direct Known Subclasses:
    XmlMessageRenderer, RssMessageRenderer

A simple rendering of the contents of a queue appear as a list of message elements which just contain an ID attribute.
Method from org.apache.activemq.web.view.SimpleMessageRenderer Summary:
getContentType,   getMaxMessages,   printFooter,   printHeader,   renderMessage,   renderMessages,   setContentType,   setMaxMessages
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.web.view.SimpleMessageRenderer Detail:
 public String getContentType() 
 public int getMaxMessages() 
 protected  void printFooter(PrintWriter writer,
    QueueBrowser browser,
    HttpServletRequest request) throws IOException, JMSException, ServletException 
 protected  void printHeader(PrintWriter writer,
    QueueBrowser browser,
    HttpServletRequest request) throws IOException, JMSException, ServletException 
 public  void renderMessage(PrintWriter writer,
    HttpServletRequest request,
    HttpServletResponse response,
    QueueBrowser browser,
    Message message) throws JMSException, ServletException 
 public  void renderMessages(HttpServletRequest request,
    HttpServletResponse response,
    QueueBrowser browser) throws IOException, JMSException, ServletException 
 public  void setContentType(String contentType) 
 public  void setMaxMessages(int maxMessages)