Hi, I am using the sftp component(2.8.5). When I passed wrong credential or invalid IP, it doesn't throws any exception. That is why I could not recognized is connection established or not. Could someone tell me how to throw exception in such case.
FYI: the route is <camel:camelContext xmlns="http://camel.apache.org/schema/spring"> <onException> <exception>java.lang.Exception</exception> <redeliveryPolicy maximumRedeliveries="1" redeliveryDelay="0" /> <continued> <constant>true</constant> </continued> <log message="I am in exception."/> </onException> <route id="test1"> <from uri="sftp://[email protected]//temp?password=test123&throwExceptionOnConnectFailed=true&noop=true" /> <to uri="file:src/temp" /> </route> </camel:camelContext> -- View this message in context: http://camel.465427.n5.nabble.com/sftp-not-throwing-exception-tp5729470.html Sent from the Camel - Users mailing list archive at Nabble.com.
