Hi,
I am too trying to catch 'FileNotFoundException' at the time of getting file
from FTP server using camel. But in-spite of trying all possible ways, I am
not able to catch this exception. Could you please tell me what have you
done to catch this exception?
Chirag
--
View this message in co
Thanks a lot it worked as per my requirement.
--
View this message in context:
http://camel.465427.n5.nabble.com/FileNotFound-exception-is-not-thrown-while-doing-SFTP-tp5748073p5748081.html
Sent from the Camel - Users mailing list archive at Nabble.com.
See the other methods that has a timeout to avoid waiting until a file
becomes available.
On Fri, Feb 28, 2014 at 11:27 AM, geetha wrote:
> Yeah understood the problem.
>
> i am listening to a queue for a message which contains the ftp server
> details and path of the file. based upon the server
Yeah understood the problem.
i am listening to a queue for a message which contains the ftp server
details and path of the file. based upon the server details i have to get
the file. So i used consumer.receive inside one of my processor.It worked
fine if file exists. Without using consumer.receiv
Hi
Read the javadoc of the receive method.
On Fri, Feb 28, 2014 at 9:29 AM, geetha wrote:
> Hi,
>
> I am using Camel 2.12.1. Am using SFTP to consume a particular file from a
> server inside a processor. I'm not getting any exception if the specified
> file is not there in the location. Camel r