[
https://issues.apache.org/jira/browse/CAMEL-11409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoran Regvart resolved CAMEL-11409.
-----------------------------------
Resolution: Implemented
Assignee: Zoran Regvart
Fix Version/s: 2.20.0
Merged to {{master}} from [PR#1758|https://github.com/apache/camel/pull/1758]
> 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
> Assignee: Zoran Regvart
> Fix For: 2.20.0
>
> 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)