Hi

Read the javadoc of the receive method.


On Fri, Feb 28, 2014 at 9:29 AM, geetha <happy9...@gmail.com> 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 route is not proceeding after this
> point. it just hangs there.
>
> Exchange ex =
> consumer.receive("sftp://username@ip:port//home/folder1/?password=pwd1&stepwise=false&fileName=sample.txt";);
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/FileNotFound-exception-is-not-thrown-while-doing-SFTP-tp5748073.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Reply via email to