I would like to bump this question. It seems like a common scenario that
should be handled in a simpler (to the developer) way. Here's my scenario:
1) FTP the contents of a directory to a remote server
2) When the FTP is complete, do something with the files ...
So this is the route for (1)
from("file://C:/mydir?noop=true")
.to("ftp://user@host//remotedir?password=password");
If i put a .to("direct:xxx") or .to("vm:xxx") then xxx is basically invoked
after EACH file is ftp-ed. I need a way to invoke a flow ONLY after the
entire directory has been FTP-ed.
I'm sure there's a simple way to ensure that (1) is complete before invoking
(2) ... no?
--
View this message in context:
http://camel.465427.n5.nabble.com/Starting-a-route-after-another-completes-tp4734464p5746601.html
Sent from the Camel - Users mailing list archive at Nabble.com.