Ok, I tried removing the maximumReconnectAttempts=-1 option from the endpoint
and still get the same results. I also tried making the routes as simple as
possible (code below) and the same thing happens. Startup camel and let it
swap a couple files a few times, kill the connection, wait a few seconds and
Route 2 gets stuck in a loop calling FtpOperations.listFiles() and never
recovers even after plugging back in the network cable.
public void configure() throws Exception {
// Route 1
from("file://C:/cameltest?sortBy=file:modifed")
.to("ftp://u...@server/ftptest?password=password");
// Route 2
from("ftp://u...@server/ftptest?password=password")
.to("file://C:/cameltest");
}
--
View this message in context:
http://www.nabble.com/FTP-Component-Network-Failure-Recovery-Problem-tp24517828p24521614.html
Sent from the Camel - Users mailing list archive at Nabble.com.