Commit Graph

114 Commits

Author SHA1 Message Date
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
Chris Beams
536fda2200 Check in Gradle-generated poms for convenience (INT-1609)
For ease of use by those (a) more familiar with Maven or (b) relying
on m2eclipse support within Eclipse/STS, generated poms are now checked
in. Changes to these files will be overwritted on subsequent gradle
builds.

Any changes to project dependencies should first be reflected in
build.gradle; then run `gradle generatePom` or simply `gradle build`
to see the change reflected in the pom(s).

Note that org.springframework.integration.ip.tcp.TcpInboundGatewayTests
currently fails when running `mvn clean test` from the root. This
problem does not manifest when running `gradle clean test`. The latter
is what's most important; Gary has been contacted to take a look at the
former.

Issues resolved:
    INT-1609, INT-1610, INT-1611
2010-11-12 23:27:32 -08:00
Iwein Fuld
f77982a33e INT-1542: Add file-regex attribute to file:inbound-channel-adapter 2010-11-12 15:46:36 +01:00
Chris Beams
ee34695bc4 Merge branch 'master' into buildSrc-extraction
Conflicts:
	spring-integration-twitter/src/main/java/org/springframework/integration/twitter/core/Twitter4jTemplate.java
2010-11-11 10:13:14 -08:00
Chris Beams
a9c70aa1e7 Synchronize with latest buildSrc updates
buildSrc updated to use latest Gradle wrapper.  See buildSrc git log
for complete details; in short, eclipse JDT prefs are now auto-generated
and the gradle daemon is no longer 'on by default', but must be enabled
with --daemon or -Dorg.gradle.daemon=true.

* removed all existing jdt preferences files in favor of auto-generation.

* removed .springBeans from .gitignore; this file should be
  source-controlled for consistency and convenience.

* removed illegal @Override annotations.  Eclipse/STS now catch these
  properly!
2010-11-11 10:04:20 -08:00
Mark Fisher
304abda2d3 removing warnings 2010-11-09 17:22:38 -05:00
Chris Beams
bd3b0222f3 Add Bundle-Version and placeholder to all Bundlor templates 2010-11-09 10:33:14 -08:00
Oleg Zhurakousky
1278666ed7 INT-1596, fixed the broken links as well as all warnings 2010-11-09 12:17:45 -05:00
Dave Syer
222cd88bac Clean up .settings 2010-11-09 09:24:58 +00:00
Mark Fisher
23c8c28d0c INT-1591 removing the FileNameExtractor strategy in favor of concrete implementations of AbstractPatternMatchingFileListFilter 2010-11-08 18:33:07 -05:00
Mark Fisher
8a46cfc0e8 INT-1591 removed 'entries' package 2010-11-08 17:51:25 -05:00
Mark Fisher
e4f6b33b7b INT-1591 FileListFilter is now parameterized. Existing implementations required refactoring to specify <File> for <F>. 2010-11-08 17:31:42 -05:00
Mark Fisher
8c33858806 removed SingleEntryAdaptingEntryListFilter 2010-11-08 15:17:36 -05:00
Mark Fisher
4487168e38 renamed EntryNamer to EntryNameExtractor since it gets the name but does not create it 2010-11-08 13:57:55 -05:00
Mark Fisher
4160c8afb4 removing 'monitors' package, not yet in use 2010-11-08 13:18:58 -05:00
Mark Fisher
d020387d7e polishing 2010-11-05 14:58:24 -04:00
Mark Fisher
12d0d46fc4 polishing 2010-11-05 14:50:37 -04:00
Mark Fisher
6abae5412b polishing 2010-11-05 14:07:11 -04:00