camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: RSS Parameters (again)
Date Mon, 23 Nov 2009 16:04:33 GMT
On Mon, Nov 23, 2009 at 5:00 PM, Stan Lewis <gashcrumb@gmail.com> wrote:
> If I go to the URL that you're using I don't see an RSS feed but instead see
> what looks like an Oracle error.  Did you check and make sure that the URL
> you're using is producing a valid RSS feed?
>

Ah yeah but the NPE may come from camel-rss / camel-atom. I bet we
need to detect this HTTP error etc. and log this as a WARN etc.

> On Mon, Nov 23, 2009 at 10:43 AM, Ian de Beer <ian@zenaptix.com> wrote:
>
>>
>> Hi
>> I specify the RSS feed as follows:
>> rss:
>> http://www.iafrica.com/pls/cms/grapevine.xml?p_section=weather&p_city=cape%20town&sortEntries=true&consumer.initialDelay=9000
>> I consistently get the following response:
>> WARN  - DefaultPollingConsumerPollStrategy - Consumer
>> Consumer[rss://
>> http://www.iafrica.com/pls/cms/grapevine.xml?consumer.initialDelay=9000&p_city=cape%20town&p_section=weather&sortEntries=true
>> ]
>> could not poll endpoint:
>> rss://
>> http://www.iafrica.com/pls/cms/grapevine.xml?consumer.initialDelay=9000&p_city=cape+town&p_section=weather&sortEntries=true
>> caused by: null
>> java.lang.NullPointerException
>>
>> Obviously no feeds  are retrieved from the endpoint.
>>
>> Regards
>> Ian
>> --
>> View this message in context:
>> http://old.nabble.com/RSS-Parameters-%28again%29-tp26480383p26480383.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

Mime
View raw message