What my system does is periodically read a directory from multiple remote ftp servers, and copy the files into a local server. The method I use is the Integration DSL FTP outbound gateway, with DelegatingSessionFactory to listen to multiple remote servers. Performance is very crucial here. Say, there are like 40 FTP servers being listened to. Me, nor my superior are not in the knowledge how DelegatingSessionFactory performance will go, and whether it will fulfill requirement. My superior suggest I create an Integration flow for every FTP servers so that it will listen to all the servers at the same time and presumable copies those files at the same. I feel this sounds crazy. In fact, I feel it might perform even worse. I also do not know the way DelegatingSessionFactory listens to every servers.
Unfortunately we have not tested how the performance is on multiple FTP servers, nor we can test it if we want to. Is there a known performance on DelegatingSessionFactory? Is making individual Integration flow will do any good, as crazy as it sounds? Even if we want to make many flows, is there a way to dynamically create all the flows? My superior even suggested if there is other library which can do the job better.
If DelegatingSessionFactory is the best method, which I think it is, I need to convince my superior that it is the best, by at least maybe know how the listening queue goes.
Thanks in advance