I am using spring integation poller to download files from an sftp server
<int-sftp:inbound-channel-adapter channel="myFileDownloadChannel"
session-factory="mySftpSessionFactory"
remote-directory="#{remote}"
filter = "modifiedFileListFilter"
local-directory="#{local}"
auto-create-local-directory="true">
<integration:poller cron="10 * * * * *" default="true"/>
</int-sftp:inbound-channel-adapter>
<integration:service-activator input-channel="myFileDownloadChannel"
ref="errorTransformer"
output-channel="endChannel"/>
I am running this code in 6 servers.
- Will it hung up the sftp server if the 6 servers are polling it every 10 min?.
- Does it make new connections each time the poller is triggered?.
Please advice.