Maybe try setting disconnect=true to not keep the connection alive between polls. As you have a 60 sec delay between then the connection may timeout or some other issue etc. If you disconnect after done then you create a new connection on next poll.
On Mon, Nov 11, 2013 at 6:27 AM, Bharath <[email protected]> wrote: > Hi, > > I have a simple route say from(ftp).to(ftp).Here files are moving > properly from source to destination and after some time am getting > > 2013-11-11 07:59:47,285 | WARN | abc.com/extern | RemoteFileProducer > | t.file.remote.RemoteFileProducer 71 | 102 - org.apache.camel.camel-core > - 2.10.0.fuse-71-049 | Writing > file failed with: File operation failed: 226 Transfer complete. > Broken pipe. Code: 226 > > I checked the destination ftp server and it is up and running.I am getting > this often say per day am getting 10 times > > Here is my original route > > from(ftp://abc.com/extern?binary=true&bufferSize=1048576&delay=60000&localWork > Directory=/tmp&move=received&passiveMode=true&password=****&readLock=changed&readLockMinLength=0&username=esb) > > to(ftp://xyz:2121?binary=true&bufferSize=1048576&localWorkDirectory=/tmp&passiveMode=true&password=******&username=ftp > > > Cheers!!! > Bharath.R > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-operation-failed-226-Transfer-complete-Broken-pipe-Code-226-tp5742999.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
