GitHub user ffeisst opened a pull request:
https://github.com/apache/camel/pull/2452
Add configuration property 'bindAddress' for SFTP
Add configuration property 'bindAddress' for SFTP to specify the local
interface to which the SFTP connection should bind.
Because the underlying SFTP library JSch does not support setting the bind
address directly, I have configured the JSch Session with an own
ConnectionFactory which opens a Socket by specifying the bindAddress.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ffeisst/camel camel-ftp-bind-address
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2452.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2452
----
commit 0b54a10965a194b45c2dd01b72e819e29bfa2eb0
Author: Felix Feisst <feisst@...>
Date: 2018-08-03T14:04:56Z
Add configuration property 'bindAddress' for SFTP to specify the address of
the local interface to which the SFTP connection should bind.
----
---