OK, here is another change CAMEL-8513[1] in Camel 2.15.1 which improves the download speed. I guess it may cause the ftp server complain about the server load. So the workaround could be set the receiveBufferSize option to 1024 to slow down the processing speed.
[1]https://issues.apache.org/jira/browse/CAMEL-8513 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On April 6, 2015 at 10:35:40 PM, alexey-s ([email protected]) wrote: > Honestly. 2.15.0 On this effect is much less than 2.15.1. > I used to > CronScheduledRoutePolicy ftpDocReadRoutePolicy = new > CronScheduledRoutePolicy(); > ftpDocReadRoutePolicy.setRouteStartTime(routePolicyStartTime); > ftpDocReadRoutePolicy.setRouteStopTime(routePolicyStopTime); > ftpDocReadRoutePolicy.setRouteStopGracePeriod(routePolicyStopGracePeriod); > > I used to have broke the connection when receiving the contents of files > from ftp server. > Now the volume of data to be processed has increased by 50 times. > To combat system start time and stop very large. No problem. > To test the interval between the start and stop up to 10 minutes. > The strangest thing that 2.15.1 error occurs frequently. > For a couple of hours of tests in 2.15.0 fix one mistake. > 2.15.1 At the same time, for the problem persists for more than 10 times. > > > And here's remarks. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-ftp-2-15-1-return-ftp-error-code-421-tp5765272p5765367.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >
