Я пытаюсь подключиться к серверу ftp, используя sftp, но не могу подключиться.Нет ошибок в подключении или учетных данных
Camel Context.xml
<route>
<from id="_from1" uri="sftp://user@localhost:22/data/test/user?noop=true&password=XXXXXX"/>
<log id="_log1" message="downloading ${file:name}"/>
<to id="_to1" uri="file:ftpclient"/>
</route>
Я добавил зависимость:
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-ftp</artifactId>
</dependency>
Журналы выглядят следующим образом:
[ Thread-4] RawBuilder INFO Copy thread finished.
[mel.test.blueprint.Main.main()] Activator INFO Camel activator starting
[mel.test.blueprint.Main.main()] Activator INFO Camel activator started
[ Blueprint Extender: 1] BlueprintContainerImpl INFO Bundle sftp_connect/1.0.0.SNAPSHOT is waiting for namespace handlers [http://camel.apache.org/schema/blueprint]
[ Blueprint Event Dispatcher: 1] BlueprintCamelContext INFO Attempting to start CamelContext: _context1
[ Blueprint Event Dispatcher: 1] BlueprintCamelContext INFO Apache Camel 2.21.0.fuse-710018-redhat-00001 (CamelContext: _context1) is starting
[ Blueprint Event Dispatcher: 1] BlueprintCamelContext INFO StreamCaching is enabled on CamelContext: _context1
[ Blueprint Event Dispatcher: 1] ManagedManagementStrategy INFO JMX is enabled
[ Blueprint Event Dispatcher: 1] DefaultManagementAgent INFO ManagementAgent detected JVM system properties: {org.apache.camel.jmx.createRmiConnector=true}
[KTOP-980NI68:1099/jmxrmi/camel] DefaultManagementAgent INFO JMX Connector thread started and listening at: service:jmx:rmi:///jndi/rmi://DESKTOP-980NI68:1099/jmxrmi/camel
[ Blueprint Event Dispatcher: 1] DefaultStreamCachingStrategy INFO StreamCaching in use with spool directory: C:\Users\Lenovo\AppData\Local\Temp\camel\camel-tmp-81aa83b2-0e29-4496-a4b9-17a9ff951952 and rules: [Spool > 128K body size]
[ Blueprint Event Dispatcher: 1] SftpEndpoint INFO Endpoint is configured with noop=true so forcing endpoint to be idempotent as well
[ Blueprint Event Dispatcher: 1] SftpEndpoint INFO Using default memory based idempotent repository with cache max size: 1000
[ Blueprint Event Dispatcher: 1] SftpOperations INFO Known host file not configured, using user known host file: C:\Users\Lenovo/.ssh/known_hosts
[ Blueprint Event Dispatcher: 1] BlueprintCamelContext INFO Route: _route1 started and consuming from: sftp://user@localhost:/data/test/user?&noop=true&password=xxxxxx
[ Blueprint Event Dispatcher: 1] BlueprintCamelContext INFO Total 1 routes, of which 1 are started
[ Blueprint Event Dispatcher: 1] BlueprintCamelContext INFO Apache Camel 2.21.0.fuse-710018-redhat-00001 (CamelContext: _context1) started in 1.320 seconds
любая помощь будет оценена.
РЕДАКТИРОВАТЬ:
когда я делаю уровни журнала JSCH, чтобы информация, которую она дает:
[ Blueprint Event Dispatcher: 1] SftpOperations INFO JSCH -> Connection established