Hoping somebody could help me with this one...
We have the following use case: upon request, connect to the remote FTP server, attempt up to 3 times to download the file (whose name and path is provided by the caller). Disconnect from the remote FTP server. Wait for next request.
Since the Spring framework doesn't provide FTP Client solution, we use Spring Integration for the purpose. The issue we ran into is that the FTP inbound-channel-adapter requires the poller to be set which continuously polls the remote server. In our case we only need to poll up to 3 times and then disconnect. Then wait for next request and so on.
Is there a way to do this with Spring Integration? What other alternatives do we have?