How to poll files from an FTP/SFTP server location at a scheduled interval using SwitchYard?
Issue
- Please provide schedule based
SFTP
example for bothSFTP
consumer and SFTP producer inSwitchYard
. - The requirement is to pick file from
SFTP
server usingcron expression
so that the file can be consumed at a scheduled interval like, end of each month fromSFTP
server location. - How to implement a schedule based polling of
SFTP
directory usingSwitchYard
project having anSFTP binding
? It appears that usingQuartz scheduler
does not seem to work. - User wants to schedule file consumption from
SFTP
directory throughSwitchYard
application in such a way, for example it should consume files between2 PM
to3 PM
only. So if any user will put the file other than this timings, the files should be remain intact and it should not get consumed. How to implement it inSwitchYard
?
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.