Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We support working with RSS and Atom via the Rome library. 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

This component uses the Rome library for accessing RSS feeds.

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

...

Wiki Markup
{snippet:id=rss|lang=xml|url=http://cvs.servicemix.codehaus.org/*checkout*/servicemix/base/src/main/release/examples/rss-binding/servicemix.xml?&rev=HEAD}

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

Wiki Markup
{snippet:id=rss|lang=xml|url=http://cvs.servicemix.codehaus.org/*checkout*/servicemix/base/src/test/resources/org/servicemix/components/rss/example.xml?rev=HEAD}