See this page: http://camel.apache.org/ftp2.html
==> FTP Consumer does not support concurrency The FTP consumer (with the same endpoint) does not support concurrency (the backing FTP client is not thread safe). You can use multiple FTP consumers to poll from different endpoints. It is only a single endpoint that does not support concurrent consumers. On Fri, Apr 27, 2012 at 05:55, Deepthi <[email protected]> wrote: > Hi, > > I am trying to read files from 1 server through FTP, process the files and > FTP it to another server. > How can i achieve multi-threading within a route. > > If i have 50 files in the source server, I want 50 threads to be running > simultaneously, read the files and process all the files simultaneously, one > file in each thread. > > How can i achieve this? > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-achieve-multi-threading-within-a-route-tp5669200p5669200.html > Sent from the Camel - Users mailing list archive at Nabble.com.
