We support working with RSS and Atom via the Romelibrary. We support both the polling of existing RSS feeds to generate JBI messages and the generation of RSS feeds from JBI messages.

Polling RSS/Atom feeds

To see this component in action see the Example in the binary distribution.

You can configure the RSS component as follows in your servicemix.xml

Error formatting macro: snippet: java.lang.IllegalArgumentException: Invalid url: must begin with a configured prefix.

 

Generating RSS/Atom feeds

This component is used to consume inbound JBI messages and write them to an RSS/Atom feed. You can then use expressions to extract the title and entry content for the items.

The following example shows using XPath expression

Error formatting macro: snippet: java.lang.IllegalArgumentException: Invalid url: must begin with a configured prefix.