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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 2.18.4, 2.19.0
    • 2.20.0
    • camel-mina2
    • None
    • Patch Available
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: