[
https://issues.apache.org/jira/browse/CAMEL-11409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048954#comment-16048954
]
ASF GitHub Bot commented on CAMEL-11409:
----------------------------------------
GitHub user gijsbert802 opened a pull request:
https://github.com/apache/camel/pull/1758
CAMEL-11409: Add writeTimeout configuration property and use with the…
… WriteFuture in Mina2Helper
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gijsbert802/camel CAMEL-11409
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1758.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1758
----
commit 6ee41266f5a6a81e1c6f43bf68d7e61619dd3f5d
Author: Gijsbert van den Brink <[email protected]>
Date: 2017-06-14T09:46:35Z
CAMEL-11409: Add writeTimeout configuration property and use with the
WriteFuture in Mina2Helper
----
> 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.18.4, 2.19.0
> Reporter: Gijsbert van den Brink
> Attachments:
> CAMEL-11409-Make_mina_writefuture_timeout_configurable.patch
>
>
> 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)