Hi,
I have a question about creating a route that can handle files to be
uploaded to an ftp server dynamically.
The steps i have to go through are:
1. messages come to my queue
2. process the message to determine the file i have to upload and to which
ftp server
3. ftp the file to remote server.
I need help with getting the route
from('activemq:myQueue').process("myprocess to determine the file name and
ftp destination. add those to headers").from("file://" +
header("filePath")).to("ftp://"+header("ftppath"));
Any help is appreciated.
Thanks,
SM