Package org.apache.activemq.web.view
Class XmlMessageRenderer
- java.lang.Object
-
- org.apache.activemq.web.view.SimpleMessageRenderer
-
- org.apache.activemq.web.view.XmlMessageRenderer
-
- All Implemented Interfaces:
MessageRenderer
public class XmlMessageRenderer extends SimpleMessageRenderer
This renderer uses XStream to render messages on a queue as full XML elements
-
-
Constructor Summary
Constructors Constructor Description XmlMessageRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.thoughtworks.xstream.XStream
getXstream()
void
renderMessage(PrintWriter writer, HttpServletRequest request, HttpServletResponse response, QueueBrowser browser, Message message)
void
setXstream(com.thoughtworks.xstream.XStream xstream)
-
Methods inherited from class org.apache.activemq.web.view.SimpleMessageRenderer
getContentType, getMaxMessages, printFooter, printHeader, renderMessages, setContentType, setMaxMessages
-
-
-
-
Method Detail
-
renderMessage
public void renderMessage(PrintWriter writer, HttpServletRequest request, HttpServletResponse response, QueueBrowser browser, Message message) throws JMSException
- Specified by:
renderMessage
in interfaceMessageRenderer
- Overrides:
renderMessage
in classSimpleMessageRenderer
- Throws:
JMSException
-
getXstream
public com.thoughtworks.xstream.XStream getXstream()
-
setXstream
public void setXstream(com.thoughtworks.xstream.XStream xstream)
-
-