ftp.username=YOUR_FTP_USERNAME
ftp.password=YOUR_FTP_PASSWORD
ftp.host=YOUR_FTP_HOST
ftp.port=YOUR_FTP_PORT
ftp.remote.directory=YOUR_REMOTE_DIRECTORY
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
xmlns:ftp="http://camel.apache.org/schema/blueprint/ftp"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0 https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
http://camel.apache.org/schema/blueprint/ftp https://camel.apache.org/schema/blueprint/ftp/camel-ftp.xsd">
<ftp:connectionFactory id="ftpClient" username="${ftp.username}"
password="${ftp.password}"
host="${ftp.host}"
port="${ftp.port}"
bufferSize="1024"
connectTimeout="10000"
passiveMode="true"
soTimeout="30000"/>
<route id="ftpRoute">
<from uri="ftp:{{ftp.remote.directory}}"/>
<to uri="file:data/inbox"/>
</route>
</blueprint>
./bin/servicemix