This might have a simple solution but I'm struggling to implement it.
My use case consist of having files uploaded to a webserver with a status of
'fileuploaded'.
This file get store onto an internal FTP server.
At some point a user will change the file status to another status e.g.
'process' at which point the file
will get copied from the ftp server to another SFTP server offsite.
I'm publishing a JMS message with the headers filename property set. This
filename is the only file I want to copy from ftp to sftp.
from ("activemq:queue:test").get("ftp://[EMAIL PROTECTED]/ftp/" +
header("filename"))
.to("sftp://[EMAIL PROTECTED]/sftp/")
Can anyone help please?
--
View this message in context:
http://www.nabble.com/Trigger-causes-Poll-from-ftp-server-to-sftp-tp20934240s22882p20934240.html
Sent from the Camel - Users mailing list archive at Nabble.com.