It looks like quite a different matter. On the server, there is a restriction session. After 10 minutes, the server connection tearing. No problem in download speed of large files. Disconnection is the fault of the strategy routePolicyStopTime. But it's not scary.
The main problem is to read a large number of file names. It is necessary to go into the database idempotentRepository. There check the name of a previously processed file. The total scan time a large number of file names transferred abroad in 10 minutes. FtpConsumer not time to start downloading the file contents. Parameter maxMessagesPerPoll I do not override. By default, it is 1000. Current indicators idempotentRepository repository size: 194159 files. -- Aleksey -- View this message in context: http://camel.465427.n5.nabble.com/camel-ftp-2-15-1-return-ftp-error-code-421-tp5765272p5765482.html Sent from the Camel - Users mailing list archive at Nabble.com.