Commit Graph

131 Commits

Author SHA1 Message Date
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
Chris Beams
c8a24acfc6 Catch poms up with 2.0.1.BUILD-SNAPSHOT version 2010-11-26 11:26:07 -07:00
Mark Fisher
c712ac6315 Release version 2.0.0.RELEASE 2010-11-22 21:23:47 -05:00
Chris Beams
365108e7e3 Reflect hamcrest 1.1 dependency in generated poms 2010-11-22 16:18:21 -07:00
Mark Fisher
c744a5212a updated javadoc, removed invalid links 2010-11-22 17:07:18 -05:00
Chris Beams
1d3f4b2987 Upgrade junit:junit:4.7 -> junit:junit-dep:4.8.2
junit-dep does not bundle dependencies like hamcrest. This avoids
'duplicate package org.hamcrest' errors during javadoc generation
2010-11-22 15:06:02 -07: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
Mark Fisher
c7c0972ce2 INT-1614 moved Session and SessionFactory from SFTP into more general 'remote' package in the file module 2010-11-19 15:47:54 -05:00
Mark Fisher
d9ebf2657e INT-1614 naming changes for synchronizers and the interface's strategy method itself 2010-11-19 12:01:49 -05:00
Mark Fisher
17d280615d INT-1614 renamed 'synchronization' package to 'synchronizer' 2010-11-19 11:36:06 -05:00
Mark Fisher
2c2d2fd38a INT-1614 synchronize method now accepts the loacl directory as an argument rather than having its own direct reference 2010-11-19 09:10:31 -05:00
Mark Fisher
e177797aef INT-1614 encapsulation 2010-11-19 08:54:59 -05:00
Mark Fisher
4d05b9c559 INT-1614 polishing 2010-11-19 08:24:00 -05:00
Mark Fisher
1d3445c538 INT-1614 removing scheduled task capabilities from synchronizers 2010-11-19 08:11:35 -05:00
Mark Fisher
45798c5345 INT-1614 refactoring FTP and SFTP so that base class receive() calls synchronizer on demand for both (was for SFTP but not FTP). 2010-11-19 07:47:54 -05:00
Mark Fisher
e69342510f a bad expression will throw an exception directly, but a missing header will still fall through to the next strategy 2010-11-18 00:39:32 -05:00
Mark Fisher
22bb005081 using brackets (safer) instead of dot notation 2010-11-18 00:32:41 -05:00
Mark Fisher
476d9db4e5 added expression support to DefaultFileNameGenerator 2010-11-18 00:26:43 -05:00
Mark Fisher
f3e854b10c INT-1568 removed the MessageHeaders.PREFIX constant since it's no longer necessary. Also added @ManagedOperation to the IntegrationMBeanExporter's getChannelSendRate(..) method. 2010-11-18 00:03:58 -05:00
Mark Fisher
7ce84b0b79 INT-1615 The 'filename-pattern' and 'filename-regex' attributes are now mutually exclusive. 2010-11-15 17:25:22 -05:00
Mark Fisher
54387d3547 polishing 2010-11-14 22:36:38 -05:00
Mark Fisher
352f5f5f73 Fixed issue with generics in List vs. array within CompositeFileListFilter's filterFiles() method. Also removed unnecessary 'filterReferences' option on FileListFilterFactoryBean (can use CompositeFileListFilter for that). The 'filterReference' property is now just 'filter', and the factory's product is now called 'result'. 2010-11-13 10:27:16 -05:00
Mark Fisher
c5f1e9d8e4 avoiding vararg/generic warning 2010-11-13 08:53:09 -05:00