featuresBoot=config, ...
,cxf-ftp
url = mvn:org.apache.servicemix.features/ftp/7.0.1/xml/features
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
<bean id="ftpConnectionFactory" class="org.apache.camel.component.file.remote.FtpConnectionFactory"/>
<bean id="myFtp" class="org.apache.camel.component.file.remote.FtpEndpoint">
<property name="ftpClientConfig" ref="ftpClientConfig"/>
<property name="ftpClientDataConfig" ref="ftpClientDataConfig"/>
<property name="ftpClient" ref="ftpClient"/>
</bean>
<bean id="ftpClientConfig" class="org.apache.commons.net.ftp.FTPClientConfig">
<constructor-arg>
<value>UNIX</value>
</constructor-arg>
</bean>
<bean id="ftpClientDataConfig" class="org.apache.commons.net.ftp.FTPClientConfig">
<constructor-arg>
<value>UNIX</value>
</constructor-arg>
</bean>
<bean id="ftpClient" class="org.apache.commons.net.ftp.FTPClient"/>
<camelContext xmlns="http://camel.apache.org/schema/blueprint">
<route>
<from uri="ftp://user:password@localhost:21/directory"/>
<to uri="file:///path/to/destination"/>
</route>
</camelContext>
</blueprint>
feature:repo-add cxf-ftp
feature:install camel-ftp
bundle:install -s mvn:org.apache.camel/camel-ftp/3.6.0