camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marcelk <>
Subject Do i need to wait for endpoint ftp to finish?
Date Tue, 15 Nov 2011 15:32:34 GMT

I've got a very simple question.
I want to copy files from the outbox to an ftp.
So I have the route and it works fine.
But when do I need to close the camelContext?
When I close it too early the ftp might not be finished.

What is the best approach? I dont want to do thread.sleep.

	.log("Going to FTP!").to("").log("FTP Done!");

from("direct:error").log("Error occured during FTP").to(

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message