On Mon, Nov 23, 2009 at 3:33 PM, Claus Ibsen <[email protected]> wrote:
> On Mon, Nov 23, 2009 at 9:12 PM, Stan Lewis <[email protected]> wrote: > > Did some more checking, looks like the updatedDate/publishedDate fields > > aren't set, that's what camel-rss needs to compare two entries. Can you > add > > either of these fields to the feed? Otherwise you may wind up having to > > remove the sortEntries parameter... > > Ah maybe we should add some check for that in the comparator code or > what appropriate > with a better description what is wrong. > > Yup, created https://issues.apache.org/activemq/browse/CAMEL-2214 for this. Added a patch and was planning on clarifying the behavior in the wiki if it's accepted. > > > > > On Mon, Nov 23, 2009 at 2:37 PM, Stan Lewis <[email protected]> wrote: > > > >> On Mon, Nov 23, 2009 at 12:29 PM, Ian de Beer <[email protected]> wrote: > >> > >>> > >>> The oracle error is only there if you use the whole url - you must > remove > >>> the > >>> parameters that are consumed by the camel component i.e. > >>> sortEntries=true&consumer.initialDelay=9000 > >>> You should then get the feed in your browser if you use: > >>> > >>> > http://www.iafrica.com/pls/cms/grapevine.xml?p_section=weather&p_city=cape%20town > >>> > >>> Regards > >>> Ian > >>> > >>> Yup, see that. Looks like it's RSS & Atom, have you tried the > camel-atom > >> component to see if that parses the feed better? The > NullPointerException > >> you're seeing is definitely an issue, the code really could use some > >> checking in here. I'll log a Jira for ya. > >> > >> > >>> > >>> Stan Lewis-3 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? > >>> > > >>> > > >>> > >>> -- > >>> View this message in context: > >>> > http://old.nabble.com/RSS-Parameters-%28again%29-tp26480383p26482500.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 >
