THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Here we use a Seda queue to gather up entries from two RSS feeds. The entries are then fed into a custom aggregator which combines these entries into a single ROME SyndFeed object.
Filtering entries
You can filter out entries quite easily by using XPath as shown in the data format section above. You can also utilize Camel's Bean Integration to implement your own conditions. For instance, a filter equivalent to the XPath example above would be:
Wiki Markup |
---|
{snippet:id=ex1|lang=java|url=activemq/camel/trunk/components/camel-rss/src/test/java/org/apache/camel/component/rss/RssFilterTest.java} |
The custom bean for this would be
Wiki Markup |
---|
{snippet:id=ex2|lang=java|url=activemq/camel/trunk/components/camel-rss/src/test/java/org/apache/camel/component/rss/RssFilterTest.java} |
Include Page | ||||
---|---|---|---|---|
|