Hi,
You can use the consumer.delay, consumer.userFixedDelay to camel pull the RSS
feed periodically.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com
Hi Williem,
it is not about periodicaly camel pull. It's about that how to pull more
than one URL by camel-rss component. I have the list od feed urls to pull in
single route.
Ziga
--
View this message in context:
Did you have chance to check out the link of pulling consumer[1]?
you can pull the feed with ConsumerTemplate.
[1]http://camel.apache.org/polling-consumer.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog:
You will have to use http component and manually process the feed or
dynamically create routes using the url from db and rss consumer.
B.
Sent from mobile
On 14 Aug 2013 08:41, skazy ziga.ska...@gmail.com wrote:
Hi Bilgin,
I have to write the route which periodicaly reads the list of RSS feed
Hi,
so the RSS component is not able to receive a list of URLs and process them
one by one? IMHO this does not seem like a good design for a component.
-borut
2013/8/14 Bilgin Ibryam bibr...@gmail.com
You will have to use http component and manually process the feed or
dynamically create
Hi,
I am trying to use camel-rss component as follow:
from(timer://timerCamel?repeatCount=0delay=1000period=30)
// ... route steps for fetching the list of urls from database
*.to(rss:http://rss.cnn.com/rss/edition.rss?splitEntries=falseconsumer.delay=1000;)*
// ... some
Hi Ziga,
rss component has only consumer, so you can use it only in from(...)
Why do you need to use timer?
Bilgin
On 13 August 2013 12:25, skazy ziga.ska...@gmail.com wrote:
Hi,
I am trying to use camel-rss component as follow:
Hi Bilgin,
I have to write the route which periodicaly reads the list of RSS feed urls
from database (timer component) and then parse each url with rss component
and finally store feed items into solr index. So I have many feed urls to
fetch and parse in one camel route.
Do you know for any