On Mon, Jan 21, 2013 at 6:45 AM, dkum003 <dhananjay.ku...@amadeus.com> wrote: > Hi, > > I am using JSCh API for connecting with the SFTP location. > > When password or userid or url is not correct. we are not getting any error > from the API. > > I tried throwExceptionOnConnectFailed=true and maximumReconnectAttempts =0 > option. > > But these two option are not working. Please suggest me on that so that JSCh > APi can through the exception. >
I suggest to enable TRACE logging and/or debug the code to see what happens when your username/pw combo do not match. For example create a small unit test to run it easily without any container. > Your help will be highly appreciated. > > Thanks & Regards, > Dhananjay Kumar > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/To-through-exception-in-case-of-SFTP-connectivity-failure-tp5725858.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen