How to setup dynamic directory for file poling from SFTP/FTP server location in SwitchYard ?
Issue
- It is required to poll files from
SFTPserver directory usingSwitchYardFTPbinding. The directory structure would look something like the following.
/Downloads
--ABC
--request
--response
--DEF
--request
--response
--XYZ
--request
--response
- The requirement is to only consume file from
requestsub-folders (as shown above) and not fromresponsesub-folders. i.e. the to enable polling files from remoteFTP serveronly from a filtered list of directory/sub-directory where the filtering of directory/sub-directory name would be based on a user defined pattern. - Is it possible to use wildcard directory structure something like
/Downloads/*/request(where*means any folder likeABC,DEF,XYZ) inFTPbinding to poll file? How can it be configured inswitchyard.xmlfile to match the requirement?
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.