Commit Graph

146 Commits

Author SHA1 Message Date
Oleg Zhurakousky
d38a56922f INT-2000 removed invalid test. Although it could have been fixed with adding a converter to BeanFactoryTypeConverter the actual scenario is invalid and unrealistic 2011-08-08 18:04:13 -04:00
Mark Fisher
3e71b5a83b INT-2004 added 2.1 versions of all XML schemas and adjusted spring.schemas files accordingly 2011-08-05 11:07:20 -04:00
Mark Fisher
8b597c1cda INT-1999 upgraded to Spring Framework 3.1 M2 2011-07-22 18:00:40 -04:00
Oleg Zhurakousky
703a531cb0 INT-1936 fixed FileTransferingMessageHandler to ensure it closes the input stream in cases when Exception is thrown during session.write(..) 2011-06-23 14:46:41 -04:00
Oleg Zhurakousky
97db1da5b2 INT-1921 fixed FTP/SFTP adapters to have '/' as a default file separator character 2011-05-31 15:16:56 -04:00
Oleg Zhurakousky
f709ba9797 INT-1916 fixed schema to be JDK 1.5 compatible 2011-05-25 16:55:42 -04:00
Oleg Zhurakousky
429a92698d INT-1916 polishing, fixing schema to be JDK 1.5 compatible 2011-05-25 16:15:13 -04:00
Oleg Zhurakousky
567802effa INT-1916 polishing, removed unused import 2011-05-25 15:57:35 -04:00
Oleg Zhurakousky
30c0a57a17 INT-1916 fixed inability to configure locker/nio-locker with poller on File Inbound Channel Adapter 2011-05-25 15:54:35 -04:00
Oleg Zhurakousky
08d601a2ba INT-1901 added support for 'comparator' atribute for FTP/SFTP Inbound Channel adapters 2011-05-11 15:03:34 -04:00
Oleg Zhurakousky
2872aceeb7 polishing, made getTemporaryFileSuffix() protected 2011-05-06 12:26:41 -04:00
Oleg Zhurakousky
dde2562cf2 INT-1756 polished code in FileTransferringMessageHandler.ensureDirectoryExists() method 2011-05-06 12:19:27 -04:00
Oleg Zhurakousky
1731bfb3b4 INT-1885 added support for empty remote-file-separator to the FTP Inbound Channel Adapter 2011-05-05 18:45:16 -04:00
Oleg Zhurakousky
765503daa4 polishing, fixed warning messages 2011-05-03 19:20:57 -04:00
Oleg Zhurakousky
a99e51e7b2 polishing 2011-05-03 19:16:07 -04:00
Oleg Zhurakousky
394c145777 polishing 2011-05-03 19:13:47 -04:00
Oleg Zhurakousky
5ccc5f62ff removed accidental public fields 2011-05-03 18:59:20 -04:00
Oleg Zhurakousky
954b6465fb polishing changed 'temporaryFileSuffix' attribute from public to private 2011-05-03 09:38:16 -04:00
Iwein Fuld
be9b57a81a Fixed javadoc 2011-04-30 20:08:34 +02:00
Iwein Fuld
3955c9d6fb Add non-parametrized message support to PayloadMatcher.
- add testcase (which used to cause compiler failure)
- remove <?> from PayloadMatcher to fix error
- add casts to FileInboundCAWRDTests to deal with backwards compatibility breakage

In some cases backwards compatibility is broken, see INT-1790 for details.
2011-04-30 20:08:34 +02:00
Mark Fisher
b09318a35b INT-1864 added 'cache-sessions' boolean attribute to FTP adapters. Default is TRUE for backwards compatibility. 2011-04-29 10:43:38 -04:00
Mark Fisher
bd81fe9db2 INT-1857 using LinkedHashSet instead of HashSet to preserve order of File instances in the List returned by a filter 2011-04-18 09:53:23 -04:00
Oleg Zhurakousky
46577add6b INT-1856 added support for filename-generator-expression to outbound file adapters, added tests 2011-04-07 12:39:40 -04:00
Oleg Zhurakousky
66aba7b5a6 INT-1856 added support for 'filename-generator-expression' to File outbound-gateway 2011-04-03 22:16:57 -04:00
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