Commit Graph

122 Commits

Author SHA1 Message Date
Oleg Zhurakousky
d12eadf33c INT-1756 added support for auto-creating remote directories 2011-03-09 09:54:27 -05:00
Oleg Zhurakousky
2d6e490969 INT-1782 added support for configuring temporary suffix 2011-03-07 15:33:58 -05:00
Mark Fisher
5eef58e9df modified assert error to 'must not be empty' rather than null for hasText(..) check 2011-01-17 14:50:58 -05:00
Oleg Zhurakousky
f0d446617d INT-1703 added support for configuring 'remote-file-separator' for FTP/SFTP 2011-01-06 13:35:37 -05:00
Oleg Zhurakousky
078c22077a INT-1717, INT-1718 polished tests 2010-12-23 14:29:24 -05:00
Mark Fisher
f7259c8181 INT-1718 expected type for the remoteDirectory Expression evaluation is now String 2010-12-23 13:18:35 -05:00
Mark Fisher
c4b0da2800 INT-1717 null, empty, or whitespace-only remoteDirectories will now all be treated as empty string (with NO trailing file separator added) 2010-12-23 13:04:36 -05:00
Mark Fisher
9a661a2160 name clarity 2010-12-22 23:24:56 -05:00
Oleg Zhurakousky
d73f254833 INT-1706 polishing, removed unnecessary 'endsWithIgnoreCase' assertion 2010-12-22 18:38:39 -05:00
Oleg Zhurakousky
2a9bff499c INT-1706 defined instance variable 'remoteFileSeparator' with '/' value as default 2010-12-22 16:51:45 -05:00
Mark Fisher
594321e3b7 INT-1704 minor change for readability 2010-12-21 16:10:45 -05:00
Oleg Zhurakousky
5e746e8bec INT-1704 changed to build remoteFilePath useing generated file name 2010-12-21 16:05:46 -05:00
Oleg Zhurakousky
fe6ff2aa98 INT-1704 changed to pass the full file path when calling session.rename(fromPath, toPath) instead of just a file name 2010-12-21 15:33:41 -05:00
Oleg Zhurakousky
9927b3e4eb INT-1697 set remoteFileSeparator tp be '/' 2010-12-17 16:29:56 -05:00
Mark Fisher
2e75687ec7 enforcing fileNameGenerator cannot be null 2010-12-17 15:32:15 -05:00
Mark Fisher
1eabbfb4e9 polishing 2010-12-17 12:06:16 -05:00
Mark Fisher
a5a787017e avoiding use of instance variable for what should be local state 2010-12-17 11:49:20 -05:00
Mark Fisher
7353e624ee FileTransferringMessageHandler now has UTF-8 as the default charset 2010-12-17 11:41:46 -05:00
Oleg Zhurakousky
1e8583619d changed logging level to TRACE for monitoring session pool behavior. It is chatty so TRACE is better then debug 2010-12-07 15:57:00 -05:00
Oleg Zhurakousky
601538a9f2 INT-1668 added logic to FTP/SFTP to ensure that the files are being uploaded with .writing extension and then renamed. Added rename(..) method to Session strategy. Ensured that file to be uploaded is not copied locally. Tested upload/download with both SFTP and FTP of a very large files. Added more mock tests 2010-12-07 10:02:59 -05:00
Oleg Zhurakousky
afe866a366 INT-1669 consolidated incomplete extension for file adapters. It is now '.writing' 2010-12-06 13:59:41 -05:00
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
Mark Fisher
c744a5212a updated javadoc, removed invalid links 2010-11-22 17:07:18 -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
Mark Fisher
d1e45f79e0 INT-1614 removed the 'remotePredicate' from the MessageSource, it is defined on the synchronizer 2010-11-21 23:24:14 -05:00
Mark Fisher
9b5ba8b56a INT-1614 moved the 'INCOMPLETE_EXTENSION' constant into the AbstractInboundFileSynchronizer class instead of the MessageSource implementation 2010-11-21 23:11: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
f448ec93b2 INT-1614 'auto-delete-remote-files-on-sync' is now 'delete-remote-files' 2010-11-21 18:05:18 -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
a62dece984 INT-1614 proper handling of parameterized method call 2010-11-21 16:32:36 -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
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
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
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
398fdee558 INT-1614 removed connect() from Session, renamed disconnect() to close() 2010-11-19 18:19:07 -05:00
Mark Fisher
66e64979ef INT-1614 refactoring FTP for Session and SessionFactory 2010-11-19 18:03:46 -05:00
Mark Fisher
9596777724 INT-1614 refactoring FTP for Session and SessionFactory 2010-11-19 17:42:34 -05:00