We have added support for the RESTful browsing of message queues in the activemq-web module. To try out this feature try the Web Samples.

Browsing of queues is implemented by a servlet, QueueBrowseServlet which allows queues to be browsed using pluggable views. The current views supported are

View nameDescription
simpleRenders a list of <message> elements with an id attribute
xmlUses XStream to render the entire messages as XML
rssUses Rome to render the messages as an RSS 0.9*, 1.0, 2.0 or Atom 0.3 feed. You can configure the type of feed using the feedType

Any properties on the view objects can be configured via reflection using query parameters. e.g. you can specify these common properties

ParameterDescription
contentTypeOverride the MIME content type of the view
maxMessagesThe maximum number of messages to render

Examples

© 2004-2011 The Apache Software Foundation.
Apache ActiveMQ, ActiveMQ, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram