Details
Description
The current default for the SO_TIMEOUT in camel-ftp is IMO not optimal.
0 means that the camel-ftp component will wait forever if a connection gets lost during polling (e.g. the ftp server loses network connectivity and is restarted).
The attached patch will change the default for the SO_TIMEOUT to 5 minutes. As this is an incompatible change it is probably better to apply this only to 2.16.0, not to earlier versions.
This is somewhat a followup to CAMEL-8757.