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

The time camel waits for a WriteFuture to complete is hard-coded 10 seconds, this should be configurable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: 2.18.4, 2.19.0
    • Fix Version/s: 2.20.0
    • Component/s: camel-mina2
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown

      Description

      On our production env we sometimes get CamelExchangeExceptions with "Cannot write body" message, I've traced these to Mina2Helper.java which has a hard-coded timeout of 10 seconds on the WriteFuture.

      This causes issues when sending large messages over slow connections, that sometimes takes longer than 10 seconds.

      I've attached a patch that adds a new property `writeTimeout`.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zregvart Zoran Regvart
                Reporter:
                vandenbrink@zorgdomein.nl Gijsbert van den Brink
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: