RSS and Atom

Connectivity > Protocols > RSS and Atom

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 name Description
simple Renders a list of elements with an id attribute
xml Uses XStream to render the entire messages as XML
rss Uses 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

Parameter Description
contentType Override the MIME content type of the view
maxMessages The maximum number of messages to render

Examples

Apache, ActiveMQ, Apache ActiveMQ, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2024, The Apache Software Foundation. Licensed under Apache License 2.0.