В karaf:
bundle:install mvn:org.apache.camel/camel-ftp/2.16.5
feature:install camel-jsch
В pom.xml добавить
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-ftp</artifactId>
<version>2.16.5</version>
</dependency>
Переложить файл из sftp папки в локальную:
from("sftp://localhost:22/number?username=s-type&password=sms&delete=true")
.log(LoggingLevel.INFO, "Moving ${file:name} to the output directory")
.to("file:camel/output")
.end();
SFTP сервер freeSSHd
SFTP клиент WinSCP