You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This simple example demonstrates the RSS binding which can syndicate RSS feeds.

To run the rss-binding example:

cd example/rss-binding
../../bin/servicemix servicemix.xml

This will start the RSS Component, that will look for updates to RSS feeds

In the servicemix.xml file is the configuration used for this RSS Component:

  <property name="urlStrings">
	  <list>
	    <value>http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml</value>
	    <value>http://rss.cnn.com/rss/cnn_topstories.rss</value>
	  </list>
        </property>
      </component>

The urlStrings values are the feeds the RSS component is listening to.

On a slow news day, you may have wait a while to see any output! (smile)

  • No labels