Spring FTP inbound and outbound channel adapter

What is the difference between an inbound channel adapter and an outbound channel adapter in Spring Integration FTP. Which should I use and when?

I read from the documentation that outgoing can send files of any type (for example, byte [], String, java.io.File), but Inbound is limited only to the file type. Is that just the difference or something else?

+1
java spring spring-integration ftp
source share
1 answer

I suggest you read the theory first.

Any Inbound adapter Inbound designed to receive data from an external system. Outbound - put data. For example. simple case: JDBC Inbound does a SELECT of DB, Outbound does INSERT .

In the case of FTP: the first to read files from FTP, the last to write them.

+1
source share

All Articles