How to poll files from an FTP/SFTP server location at a scheduled interval using SwitchYard?

Solution Unverified - Updated -


  • Please provide schedule based SFTP example for both SFTP consumer and SFTP producer in SwitchYard.
  • The requirement is to pick file from SFTP server using cron expression so that the file can be consumed at a scheduled interval like, end of each month from SFTP server location.
  • How to implement a schedule based polling of SFTP directory using SwitchYard project having an SFTP binding? It appears that using Quartz scheduler does not seem to work.
  • User wants to schedule file consumption from SFTP directory through SwitchYard application in such a way, for example it should consume files between 2 PM to 3 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 in SwitchYard ?


  • Red Hat JBoss Fuse Service Works (FSW)
    • 6.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In