How to setup dynamic directory for file poling from SFTP/FTP server location in SwitchYard ?
Issue
- It is required to poll files from
SFTP
server directory usingSwitchYard
FTP
binding. 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
request
sub-folders (as shown above) and not fromresponse
sub-folders. i.e. the to enable polling files from remoteFTP server
only 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
) inFTP
binding to poll file? How can it be configured inswitchyard.xml
file 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.