Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8818

Set default for SO_TIMEOUT in camel-ftp

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.16.0
    • Component/s: camel-ftp
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown
    • Flags:
      Patch

      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.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              siano Stephan Siano
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: