As a brief description, I am connecting a remote directory, copying files to local directory and then indexing them with lucene. I am using sftp:delay for repeating for every 15 minutes.
I would like to design my system like I mentioned below, 1) I want to do this route for multiple servers (example: 10) "paralally" for every 30 minutes, how do I need achieve parallell processing below route? 2) I want to read the number of servers & config before I start for every 30 minutes, I mean to say I want to add/remove servers which are going to be in next cycle so count #10 in above point is not fixed. Please see my camel route configuration below, and I want to run below thing parallel for multiple servers. <camel:camelContext id="camelFtpContext" xmlns="http://camel.apache.org/schema/spring" > <camel:propertyPlaceholder id="sftpproperties" location="camel-ftp-config.properties"/> <camel:route id="log-index-profiler"> <camel:from uri="sftp://@{{sftp.remote.host}}//{{log.directory}}?delay="300000"/> <camel:to uri="file://{{sftp.destination.log.directory}}"/> <camel:to uri="bean:luceneIndexer?method=luceneIndexing"/> </camel:route> </camel:camelContext> Thanks for taking time to read my post, and kindly Suggest a best solution. Regards Ashok Gudise -- View this message in context: http://camel.465427.n5.nabble.com/Need-Help-in-configuring-a-router-to-run-to-run-parallally-every-30-minutes-tp5740755.html Sent from the Camel - Users mailing list archive at Nabble.com.