[ 
https://issues.apache.org/activemq/browse/CAMEL-2150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian de Beer reopened CAMEL-2150:
--------------------------------

    Regression: [Regression]

Hi Claus 
I have checked out the latest Camel SNAPSHOT from svn, build and  tested your 
fix, but now I get:
java.lang.IllegalArgumentException: feedUri must be specified
        at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:242)
        at 
org.apache.camel.component.feed.FeedEndpoint.createConsumer(FeedEndpoint.java:66)
        at 
org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:57)
        at 
org.apache.camel.impl.DefaultRoute.getServicesForRoute(DefaultRoute.java:81)
        at org.apache.camel.impl.RouteService.doStart(RouteService.java:77)
        at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)
        at 
org.apache.camel.impl.DefaultCamelContext.startRouteService(DefaultCamelContext.java:937)
        at 
org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:571)
        at 
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:924)
        at 
org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:517)
        at 
org.apache.camel.builder.RouteBuilder.populateRoutes(RouteBuilder.java:270)
        at 
org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:260)
        at 
org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:241)
        at 
org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:507)
        at com.zenaptix.contentServer.Launcher$1.run(Launcher.java:146)
Any ideas?
Regards
Ian


> RSS Component - parameter filtering not working
> -----------------------------------------------
>
>                 Key: CAMEL-2150
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2150
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-rss
>    Affects Versions: 2.0.0
>         Environment: Mac OS X 10.6.1; JDK 6 64 bit; Camel 2.0
>            Reporter: Ian de Beer
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> 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 
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to