We provide several integration channels (we deal mostly with file interchange) to our customers including (but not limited to):
- Connectivity via WebsphereMQ (we have to connect to different MQ queues depending on the client).
- Other proprietary Managed file transfer solutions.
- FTP/SFTP connectivity: we run a secure FTP server to which ours customers can connect to so ,in our side, we use a typical 'File integration'. Furthermore, some customers run their own FTP/SFTP servers and we do need to connect to them.
For the FTP/SFTP/Remote folders part we now configure different 'channels' in our database stating the URL and credentials (amongst other values we may need: file encoding, 'archive' directory, and so on ).
This way, our components will get from the database where they need to connect to and it's trivial for us to add a new customer - channel. Moreover, we have our configuration in the database, something we prefer to File configuration.
How can we leverage Spring integration FTP/SFTP/File adapters in our scenario?