Hello Tam, first of all, welcome in the Camel community. Please use the users@ mailing list for questions like this. The dev@ user list is for the Camel contributor/committer discussing e.g. how to implement a feature.
Regarding to your questions: 1) Have a look at [1] and [2]. 2) If you want to publish a feed, you could have a look at [3] or [4]. Hope this helps... [1] http://camel.apache.org/timer.html [2] http://camel.apache.org/quartz.html [3] http://camel.apache.org/http.html [4] http://camel.apache.org/http4.html Best, Christian On Wed, May 9, 2012 at 2:09 PM, tamnguyen <tamnguyen1...@gmail.com> wrote: > 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. >