On Mon, Nov 9, 2009 at 9:38 AM, Ian de Beer <[email protected]> wrote: > > Hi > I have tried to sort RRS feeds or to split the entries as described in the > documentation. The problem is that the parameters that are to be consumed by > Camel are passed through to the endpoint, who does not understand the > parameters. > Here is my code: from("rss:" + feedLocation+ > "?sortEntries=true&feedHeader=true").marshal().rss()... > where feedLocation = "http://www.iafrica.com/pls/cms/grapevine.xml" > It results in: > java.io.FileNotFoundException: > http://www.iafrica.com/pls/cms/grapevine.xml?feedHeader=true&sortEntries=true > at
Hi Yeah looks as if those Camel options are not filtered out. Could you create a ticket in JIRA? > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1311) > at java.net.URL.openStream(URL.java:1010) > at org.apache.camel.component.rss.RssUtils.createFeed(RssUtils.java:32) > at > org.apache.camel.component.rss.RssEntryPollingConsumer.createFeed(RssEntryPollingConsumer.java:54) > at > org.apache.camel.component.feed.FeedEntryPollingConsumer.poll(FeedEntryPollingConsumer.java:42) > at > org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:99) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:637) > > Am I misreading the instructions or is there a bug in the component? > Regards > Ian > > -- > View this message in context: > http://old.nabble.com/RSS-Parameters-tp26262821p26262821.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
