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



--
View this message in context: 
http://camel.465427.n5.nabble.com/bean-generates-filename-as-body-need-to-send-file-over-ftp-tp5749293.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to