Files
spring-integration-samples/basic/file
Artem Bilan 1aa24b6577 Upgrade dependencies and various fixes
* Remove usage of removed `org.springframework.util.SocketUtils`
in favor of OS-selected port
* Migrate mail tests to Greenmail instead of already obsolete (and soon to be removed)
`org.springframework.integration.test.mail.TestMailServer`
2022-03-24 12:02:16 -04:00
..
2019-03-22 14:52:00 -04:00
2022-03-24 12:02:16 -04:00

File Sample

This example demonstrates the following aspects of the File operations support available with Spring Integration:

  1. File Inbound Channel Adapter
  2. File Outbound Channel Adapter
  3. 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:

  1. Binary file copy
  2. Text file copy
  3. Simple file copy

To run the samples simply execute the 3 test cases located in the org.springframework.integration.samples.filecopy package.