INT-1614 refactoring FTP and SFTP so that base class receive() calls synchronizer on demand for both (was for SFTP but not FTP).

This commit is contained in:
Mark Fisher
2010-11-19 07:47:54 -05:00
parent 1dc64b2914
commit 45798c5345
5 changed files with 16 additions and 22 deletions

View File

@@ -89,7 +89,7 @@ public class FtpInboundRemoteFileSystemSynchronizer extends AbstractInboundRemot
throw (RuntimeException)th;
}
else {
throw new MessagingException("Failed to compy file", th);
throw new MessagingException("Failed to copy file", th);
}
}
finally {

View File

@@ -49,12 +49,12 @@ public class FtpInboundRemoteFileSystemSynchronizingMessageSource
@Override
protected void doStart() {
this.synchronizer.start();
//this.synchronizer.start();
}
@Override
protected void doStop() {
this.synchronizer.stop();
//this.synchronizer.stop();
}
}