After some time the poller stops polling using ftp spring integration
1.Need to pick up files from three different folders in the same directory on the remote ftp as and when generated(Eg.a/b/new,a/c/new,a/d/new) and put it in the corresponding folders on local machine and delete the files from remote after copying to local.
2.Do some processing on local machine and move the files in a different folder so as to avoid synchronization problem.
3.Put the files back to remote ftp on(Eg. a/b/archive,a/c/archive,a/d/archive)
*So i have used three pollers to do so
4.Also I need to put a file from local as and when generated to remote ftp in some folder.-so I have used the 4th poller.
1.Exception which comes
Localized Message:Problem occurred while synchronizing remote to local directory
Cause:Connection refused: connect
*in debug mode in the Thread dump.
some threads stop at method-unsafe.park(boolean,long)
some threads stop at socketInputStreamread() something like that
I have attached my context file.Please advise.