Ftp Polling as service in Spring Integeration -


in application.i need poll files ftp server.but current load less per day 2-3 files.so don't want service run , uses resources.

is there in build or little customization can start/stop ftp polling on demand. want ftp polling service in unix. when required stop/start.

am using spring integration's int-ftp:inbound-channel-adapter

not sure if issue keep object in java heap , don't affect gc...

if have such low polling interval can use cron option on <poller> run polling task once-twice day.

from other side can, of course, start/stop spring integration endpoint using id , lifecycle start/stop management operations.

in addition can expose endpoint jmx , start/stop them there, or rely on control bus in app same.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -