[
https://issues.apache.org/activemq/browse/CAMEL-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-2160.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0
trunk: 835283.
The FTP component is now much more flexible in configuration and you can set
the timeout from the URL directly using
{code}
return "ftp://ad...@localhost:" + getPort() +
"/timeout/?password=admin&ftpClient.dataTimeout=5000";
{code}
Wiki documentation updated as well
> Camel FTP2 does not has an option to set the data time out on the FTPClient
> ---------------------------------------------------------------------------
>
> Key: CAMEL-2160
> URL: https://issues.apache.org/activemq/browse/CAMEL-2160
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-ftp
> Affects Versions: 2.0.0
> Reporter: Jörn Kottmann
> Assignee: Claus Ibsen
> Fix For: 2.1.0
>
>
> The camel ftp2 client does not has an option to set the
> FTPClient.setDataTimeout(...) to an actual time out value. The way it is
> implemented now is that the default is used, which is to wait forever. This
> causes blocking of the ftp client when polling from our ftp server after a
> few hours/days.
> I suggest to add an additional dataTimeout option which could be used prevent
> this problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.