camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gijsbert van den Brink (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-11409) The time camel waits for a WriteFuture to complete is hard-coded 10 seconds, this should be configurable
Date Wed, 14 Jun 2017 09:14:00 GMT
Gijsbert van den Brink created CAMEL-11409:
----------------------------------------------

             Summary: The time camel waits for a WriteFuture to complete is hard-coded 10
seconds, this should be configurable
                 Key: CAMEL-11409
                 URL: https://issues.apache.org/jira/browse/CAMEL-11409
             Project: Camel
          Issue Type: Improvement
          Components: camel-mina2
    Affects Versions: 2.19.0, 2.18.4
            Reporter: Gijsbert van den Brink


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`.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message