0
votes

I have created FTP polling using SPring Inetegration (FTP adaptors).Just like to know is there any known issues if i use in the loadbalancer. i.e we have our app deployed in 2 instance of server with LoadBalancer.

Just thinking if File is polled by one FTP Poller and processing and another FTP poller will again poll the same file and process?

1

1 Answers

0
votes

For this purpose Spring Integration 3.0 has introduced FtpPersistentAcceptOnceFileListFilter

There is just need to use shared external Persistence MetadataStore - Redis or Gemfire. Or implement your own, for example JDBC.

And contribute it to Spring Integration - https://jira.spring.io/browse/INT