Does context with multi ftp routes run with multiple thread?

2016-05-02 Thread polanki
If Camel context is started with multiple routes then does it run with multithreads? If so how many threads will be created? can we set number of threads? Does thread pool created for each camel context or for each Route Builder in the camel context? below is the sample code final CamelCo

How to stop particular routes in camel context based on elapsed time?

2016-05-02 Thread polanki
if I have sample script like below. In this script different routes in context starts in different times. In the same way I want to stop particular route after specified time rather than stopping entire context. How can I do this? Like InitialDelay is there termination time for route? fina

camel scheduledExecutorService works only for multicast?

2016-05-02 Thread polanki
Camel scheduledExecutorService / threadPoolProfile works only for multicasting or it also works with different sources and different consumers? If there are 100 routes in a context, each route has different source and destination does this thread pool helps? -- View this message in context: h

Collecting feeds from multiple sources to multiple destinations

2016-05-02 Thread polanki
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.

What is direct:start in "camel in action" book?

2016-05-03 Thread polanki
couple of places I saw direct:start and direct:update as below. what does it mean from("direct:start") .transform(body().regexReplaceAll("\n", "")) .to("mock:result"); -- View this message in context: http://camel.465427.n5.nabble.com/What-is-direct-start-in-camel-in-action-book-tp5782137.html

How to stop Camel Context after all files FTP?

2016-04-19 Thread polanki
I wrote below code to FTP files from remote server. I need to do FTP only one time and get all files from remote system. But with below code, I need to specify how much time to wait before stopping the context. Is it possible to specify stop only after all files FTP. { final CamelContext cam