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

Set default for SO_TIMEOUT in camel-ftp

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.16.0
    • camel-ftp
    • None
    • Patch Available
    • Unknown
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: