Dear,
I began to study apache camel by doing a case study as the following. I
have an application that crawl RSS from given sites and store the data to
database. Another application will read and display feed on a web site. For
the get RSS part, I can do easy using RSS module. The code as the following
context.addRoutes(new RouteBuilder() {
@Override
public void configure() throws Exception {
from("rss://<uri>")
.process(newsProcessor)
.to("log:vnexpress-feed");
}
});
With this code, I can get RSS items on given feed uri. But I don't know how
to
1. re-start this route each 5 minutes for example?
2. or send a message to active rss endpoint?
I tried to google but don't find any useful information so I post a message
here and hope that you can help me.
Thanks and best regards,
Tam
--
View this message in context:
http://camel.465427.n5.nabble.com/Help-to-review-this-code-tp5697209.html
Sent from the Camel Development mailing list archive at Nabble.com.