Hi I am running with camel 2.9.2 .Below is the from uri using to poll the files from SFTP to local directory ,it gets connected than disconnecting and throwing an issue
" INFO org.apache.camel.component.file.remote.SftpOperations - JSCH -> Caught an exception, leaving main loop due to socket closed." If I remove " processStrategy=#BPXFProcessStrategy&" from uri than able to poll the files over SFTP using filter. ========================================================================= <route id="abc"> <from uri="sftp://****@11.11.11.11:21//Users?filter=#BPXFFilter&processStrategy=#BPXFProcessStrategy&idempotent=true&idempotentRepository=#BPXFStore_axis&localWorkDirectory=C:/temp&binary=true&password=***" /> <to uri="file:E:\xyz" /> </route> =========================================================================== Please suggest . -- View this message in context: http://camel.465427.n5.nabble.com/Can-we-use-processStrategy-inside-the-route-in-the-from-URI-to-poll-the-files-over-sftp-tp5754806.html Sent from the Camel - Users mailing list archive at Nabble.com.