-
1. Re: SwitchYard - SFTP, FTP
kcbabo Aug 30, 2013 8:16 AM (in response to srini8881)Camel FTP bindings support a 'localWorkDirectory' parameter which allows a file to be spooled to local disk instead of read into memory. Our FTP binding schema does not expose this parameter at present, but you can always use the camel URI binding to just pass a complete endpoint URI including this parameter.
Camel FTP endpoint parameters:
http://camel.apache.org/ftp2.html
Camel URI binding in SY:
Camel URI - SwitchYard - Project Documentation Editor
If using this parameter satisfies your requirement, file a JIRA in SY and we'll add it to the config schema.
Another option that provides more flexibility is to receive the file via a FTP binding into a camel route and then route it to the local disk via a file reference binding. You could then have another service listening to the local file system via a File binding.
-
2. Re: SwitchYard - SFTP, FTP
synclpz Aug 30, 2013 8:28 AM (in response to kcbabo)Why not just write a bash script poller to move files to local HD then process them via file binding?
-
3. Re: SwitchYard - SFTP, FTP
srini8881 Sep 1, 2013 3:47 AM (in response to srini8881)Thanks Keith and Viktor.
I had implemented Keith suggestion in this case anyways
Srini.