The component split the entries by default. See the documentation at http://camel.apache.org/rss
On Mon, Jul 11, 2016 at 1:08 PM, Paul Blakeley <pblake...@gmail.com> wrote: > I am currently trying to use the camel RSS component to take feeds from > google news. I have included the route and the code below. What I am > finding is that I only only get one entry for the google news feed! When I > check the raw rss xml I can see that there are multiple entries. Also, I > have checked another feed(bbc) and I can see that I receive multiple > entries. Hope someone can help. > > ------- > > <from uri="rss: > https://news.google.com/news/section?ned=uk&topic=b&output=rss" /> > > <bean ref="googleRssFeed" method="parse"/> > > ------ > > public void parse(final Exchange exchange, @Body SyndFeed feed) { > > SyndEntry entry = (SyndEntry) feed.getEntries().get(0); > > LOG.info("pub date = "+ entry.getPublishedDate()); > > ... > > } -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2