Hi, Greg.

  Thank you so much for your reply! In my camel route, I did not specify any
preferredAuthentications. Our route runs twice a day. Can you explain why it
threw the exception after a long period time of inactive connectivity (the
first run) and the re-connection worked after a few hours (the second run).
Our system admin yesterday developed a workaround by writing a script to
ping/connect the SFTP server from prod server every 2 hours and the issue
seemed to be resolved. But we do not want to stick to this workaround. So I
am trying to understand what exactly is causing exception and fix it.


Route:

                <from
uri="{{sftpLocation}}?privateKeyFile={{location}}&amp;sendEmptyMessageWhenIdle=true&amp;idempotent=false&amp;consumer.bridgeErrorHandler=true&amp;disconnect=false&amp;maximumReconnectAttempts=2&amp;filter=#customFileFilter"/>




--
View this message in context: 
http://camel.465427.n5.nabble.com/SFTP-connection-issue-with-private-key-tp5764710p5764778.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to