| Commit in servicemix/base/src/main/release/examples/rss-binding on MAIN | |||
| servicemix.xml | +32 | added 1.1 | |
| README.txt | +7 | added 1.1 | |
| +39 | |||
Added rss example
servicemix/base/src/main/release/examples/rss-binding
servicemix.xml added at 1.1
diff -N servicemix.xml --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ servicemix.xml 11 Aug 2005 16:39:26 -0000 1.1 @@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?> +<beans xmlns:my="http://servicemix.org/demo/"> + + + <!-- the JBI container --> + <container id="jbi"> + + <components> + + <!-- lets poll for updates to news sites --> + <component id="rss" service="my:rss" class="org.servicemix.components.rss.RssPollingComponent" destinationService="my:trace"> + <property name="outputType" value = "rss_2.0" /> + <property name="monitorInterval" value = "10"/> + + + <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> + + <!-- Route the event to a trace component that just outputs the event to the console --> + <component id="trace" service="my:trace" class="org.servicemix.components.util.TraceComponent"/> + </components> + </container> + + + + +</beans>
servicemix/base/src/main/release/examples/rss-binding
README.txt added at 1.1
diff -N README.txt --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ README.txt 11 Aug 2005 16:39:26 -0000 1.1 @@ -0,0 +1,7 @@
+Welcome to the ServiceMix RSS Binding Example +================================================ + +This simple exampleshows RSS feeds being passed to trace component + +For more information see: +http://servicemix.org/RSS
\ No newline at end of file
