Commit Graph

135 Commits

Author SHA1 Message Date
Oleg Zhurakousky
f4f0c2ea36 INT-1664 renamed copy() methods to read(..) and write(..) 2010-12-06 12:37:51 -05:00
Oleg Zhurakousky
5f36b01024 INT-1664, INT-1665 added check for connection validity to recognize stale FTP connections, added 'throws IOException' to other relevant methods of Sessioin strategy, added debug statements to monitor session and session pool state, polished code 2010-12-06 12:25:07 -05:00
Oleg Zhurakousky
583b2771cd INT-1664, INT-1665 added isOpen() method to the Session strategy, added check for stale connection to the CachingSessionFactory which will ensure that it only returns valid (non-stale) Session 2010-12-06 09:06:29 -05:00
Oleg Zhurakousky
0f761f3adb INT-1663, INT-1664, INT-1665, INT-1666 refactored Session to encapsulate 'copy' functionality as a whole, fixed FTP stale connection issue, fixed FTP default buffer size, better error reporting, removed remoteWorkingDirectory attribute from session factory, other polishing, adjusted tests 2010-12-05 19:25:04 -05:00
Oleg Zhurakousky
43c9a5b270 removed wrong value form one of the fields in test xml file 2010-11-22 10:50:45 -05:00
Oleg Zhurakousky
a4f6a172d0 INT-1552 added schema docs for FTP module, polished FTP schema docs 2010-11-22 10:29:38 -05:00
Mark Fisher
bc784eeca2 INT-1614 polishing 2010-11-22 09:29:46 -05:00
Oleg Zhurakousky
49d544acec INT-1614 fixed test test xml file again 2010-11-22 09:23:11 -05:00
Oleg Zhurakousky
c58d3b6b49 INT-1614 fixed test test xml file 2010-11-22 09:22:12 -05:00
Oleg Zhurakousky
2cd1746eea INT-1614 fixed test xml files and updated FTP documentation 2010-11-22 09:20:20 -05:00
Oleg Zhurakousky
d2d0f861ca INT-1614 made createClient method package private 2010-11-22 08:34:58 -05:00
Mark Fisher
7ec046ad3f INT-1641, INT-1614 added support for 'filename-regex' for the FTP and SFTP inbound channel adapters 2010-11-22 01:21:07 -05:00
Mark Fisher
bcc919fed7 INT-1614 changed the 'auto-create-directories' attribute to 'auto-create-local-directory' since it only affects the local directory 2010-11-22 01:00:58 -05:00
Mark Fisher
ad485e9124 INT-1614 moved outbound parsers into a single class in the file module 2010-11-22 00:48:05 -05:00
Mark Fisher
c9a1af9970 INT-1614 all logic for inbound adapters is now in a base class 2010-11-22 00:31:50 -05:00
Mark Fisher
4476620094 INT-1614 consistency with pattern-matching FileListFilter implementation names. The PatternMatchingFileListFilter is now RegexPatternFileListFilter (breaks existing use, but since 'filename-pattern' now has a *simple* ant path match, users should know aobut the changes). It's also more consistent with SimplePatternFileListFilter 2010-11-22 00:00:39 -05:00
Oleg Zhurakousky
003d9e71f6 INT-1614 made FtpSession package private 2010-11-21 21:54:27 -05:00
Mark Fisher
6cc442345d INT-1614 added SpEL support for remote filename generator on FTP outbound adapters, and renamed the 'filename-generator' reference attribute to 'remote-filename-generator' to match SFTP 2010-11-21 19:36:45 -05:00
Oleg Zhurakousky
1c8bb054e6 INT-1614 fixed sanity test config based on refactored XML 2010-11-21 19:14:04 -05:00
Mark Fisher
319faaf8d0 INT-1614 temporaryDirectory is now a File instead of a Resource 2010-11-21 19:03:25 -05:00
Mark Fisher
2e3fc66bba INT-1614 factored all FTP and SFTP MessageHandler code into a single FileTransferringMessageHandler in the spring-integration-file module 2010-11-21 18:54:12 -05:00
Mark Fisher
fd083e9772 INT-1614 FtpSendingMessageHandler now takes the SessionFactory in its sole constructor 2010-11-21 18:14:19 -05:00
Mark Fisher
f448ec93b2 INT-1614 'auto-delete-remote-files-on-sync' is now 'delete-remote-files' 2010-11-21 18:05:18 -05:00
Mark Fisher
21b2a232ea INT-1614 changed 'local-working-directory' attribute to 'local-directory' on FTP side (now consistent with SFTP and matches the name of the actual property) 2010-11-21 17:45:23 -05:00
Mark Fisher
dbdbb88247 INT-1614 moved file copy code up to base class, subclasses now only implement isFile and getFilename methods 2010-11-21 17:29:51 -05:00
Mark Fisher
54ce478f4b added log4j category for integration 2010-11-21 16:00:03 -05:00
Mark Fisher
d97785a8e6 fixed package name for FTP log4j category 2010-11-21 15:58:53 -05:00
Mark Fisher
4e31918771 INT-1614 changed 'remotePath' property to 'remoteDirectory' - now matches the 'remote-directory' attribute within the schema 2010-11-21 15:56:20 -05:00
Mark Fisher
698a1f922e INT-1614 moved 'synchronizeToLocalDirectory' to the base class and changed Session.ls() to return an array rather than Collection 2010-11-21 15:42:40 -05:00
Mark Fisher
54ea3867b6 INT-1614 refactoring as much as possible into base class 2010-11-21 15:16:37 -05:00
Mark Fisher
25e20b73c1 INT-1614 refactoring as much as possible into base class 2010-11-21 14:54:04 -05:00
Mark Fisher
3acef7cafc INT-1614 refactoring as much as possible into base class 2010-11-21 14:20:15 -05:00
Mark Fisher
427116ef1e INT-1614 removed unnecessary abstract parser base classes 2010-11-21 14:10:14 -05:00
Mark Fisher
cf7141bc9c INT-1614 FTP inbound synchronizer now requires 'sessionFactory' as a constructor argument like the other adapters 2010-11-21 14:02:38 -05:00
Mark Fisher
9e3a039d2b INT-1614 replaced AcknowledgmentStrategy with simple delete flag option only 2010-11-21 13:53:56 -05:00
Mark Fisher
9c0e122958 INT-1614 renamed EntryAcknowledgmentStrategy to AcknowledgmentStrategy for now, but will most likely remove the strategy altogether since there's a conflict if one is set and the delete flag is true at the same time 2010-11-21 13:32:25 -05:00
Oleg Zhurakousky
5a757523d1 INT-1638 removed unused dependencies form manifests, made minor refactoring to sftp and ftp modules to removed dependencies on commons-io and commons-lang 2010-11-21 12:04:16 -05:00
Oleg Zhurakousky
5bffcdc0df INT-1614 un-ignoring SessionFactoryTests 2010-11-21 09:49:10 -05:00
Mark Fisher
eed3c792b4 INT-1614 refactored clientMode code per Oleg's updates 2010-11-21 09:42:16 -05:00
Oleg Zhurakousky
b5aef80cdd INT-1614 changed clientMode in all the test xml files to be either 0 or 2 since these are the only two that we currently support 2010-11-21 09:32:01 -05:00
Oleg Zhurakousky
1313572878 INT-1614 fixed FtpSendingMessageHandlerTest, removed unused test xml files, created SessionFactoryTests with Ignored test untill the issue with validating client modes in ASF is fixed 2010-11-21 09:27:15 -05:00
Mark Fisher
06f4bfda06 INT-1614 polished FTP synchronizer with changes from Oleg 2010-11-20 16:31:16 -05:00
Oleg Zhurakousky
d8110b859c INT-1614 added test for validating FTP copying from remote to local dir 2010-11-20 14:32:47 -05:00
Oleg Zhurakousky
e4d3bc0a09 INT-1614 fixed tests in FTP 2010-11-19 22:35:42 -05:00
Mark Fisher
294ffb2bfe INT-1614 using File instead of Resource for localDirectory 2010-11-19 21:40:22 -05:00
Mark Fisher
0a6842dd7d INT-1614 fixed issue with FTP retrieve stream 2010-11-19 20:02:55 -05:00
Mark Fisher
fc9fff58d4 INT-1614 moved the 'synchronizer' package into the 'remote' 2010-11-19 18:59:29 -05:00
Mark Fisher
ff85df9e99 INT-1614 renaming ClientFactory to SessionFactory 2010-11-19 18:35:16 -05:00
Mark Fisher
b37863a6e4 INT-1614 renaming ClientFactory to SessionFactory 2010-11-19 18:21:44 -05:00
Mark Fisher
398fdee558 INT-1614 removed connect() from Session, renamed disconnect() to close() 2010-11-19 18:19:07 -05:00