camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From polanki <>
Subject Collecting feeds from multiple sources to multiple destinations
Date Mon, 02 May 2016 21:54:35 GMT
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.

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:
Sent from the Camel - Users mailing list archive at

View raw message