When just importing the ftp example as a maven project, I ran into the issue of a slf4j version discrepancy described here: http://www.slf4j.org/faq.html#IllegalAccessError This is solved by adding the specific version dependency of `slf4j-api`. * Add the specific `slf4j-api` dependency to the Gradle script * Change the dependency scope for `slf4j-` impl to the `runtime`. * Regenerate POMs
File Sample
This example demonstrates the following aspects of the File operations support available with Spring Integration:
- File Inbound Channel Adapter
- File Outbound Channel Adapter
- File-to-Bytes Transformer
Furthermore, a Poller is used as well.
The use case is a simple file copy, but implemented in 3 basic flavors:
- Binary file copy
- Text file copy
- Simple file copy
To run the samples simply execute the 3 test cases located in the org.springframework.integration.samples.filecopy package.