I'm very new to camel.
I've written a bean that creates a file, now I need to send the file over
ftp.
My current thought is to return the filename as the body of the message, but
scouring the documentation and example code it seems that this is never
done.
I'd like the route to look like this
.start("start-from-quartz")
.to("bean:createfile?method=execute")
.to("ftp:server/location/destination_filename")
.end();
How can I pass the location file location from my bean to the ftp transfer?
Notes:
Camel version: 2.4.0
Spring version: 3.0.3
Jave version: 1.6
Thank you,
-Morio
I've written a bean that creates a file, now I need to send the file over
ftp.
My current thought is to return the filename as the body of the message, but
scouring the documentation and example code it seems that this is never
done.
I'd like the route to look like this
.start("start-from-quartz")
.to("bean:createfile?method=execute")
.to("ftp:server/location/destination_filename")
.end();
How can I pass the location file location from my bean to the ftp transfer?
Notes:
Camel version: 2.4.0
Spring version: 3.0.3
Jave version: 1.6
Thank you,
-Morio