Our application need to collect files from many (say 100) ftp servers in
different time period ranges.
For example from 
FTPServer1 - 8AM-8PM
FTPServer2 - 1AM-3PM
.
.
.
FTPServer100 - 5AM-7AM

Can camel scheduledExecutorService helps for this?
Some possible solutions I can think of. Please suggest.

Creating 100 routes in a context with different initialDelay (To accommodate
start time constraint) is better solution? In this case stopping particular
route at end time is issue?
Stopping the context stops all routes.
or 

By using Java ScheduledExecutorService, Schedule 100 contexts, keep running
and stop contexts individually based on end time. Disadvantage with this is
I need to have 100 threads to run 100 camel contexts simultaneously.




--
View this message in context: 
http://camel.465427.n5.nabble.com/Collecting-feeds-from-multiple-sources-to-multiple-destinations-tp5782092.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to