Files
spring-integration-samples/basic/file
Artem Bilan 21e44479ee Fix deprecation warnings
* Use `MatcherAssert.assertThat()`
instead of deprecated `Assert.assertThat()`
* Use `IntegrationFlows.fromSupplier(Supplier)`
instead of removed `IntegrationFlows.from(Supplier)`
* Use `org.springframework.integration:spring-integration-test`
throughout the project for more testing utilities
2020-06-29 13:26:03 -04:00
..
2019-03-22 14:52:00 -04:00
2020-06-29 13:26:03 -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.