简体   繁体   中英

Spring FTP Inbound vs Outbound Channel Adaptor

What is the difference between Inbound Channel Adaptor and Outbound Channel Adaptor in Spring Integration FTP. Which one I should I use and when?

I read from documentation that outbound can send any type of file(like byte[], String, java.io.File) but Inbound is restricted for File type only. Is that only difference or anything else?

I suggest you to read a theory first of all.

Any Inbound adapter is intended to get data from external system. Outbound - to put data. Eg simple case: JDBC Inbound performs a SELECT from DB, Outbound - INSERT .

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM