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] [Updated] (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:16:00 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-11409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gijsbert van den Brink updated CAMEL-11409:
-------------------------------------------
    Attachment: CAMEL-11409-Make_mina_writefuture_timeout_configurable.patch

> 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)

Mime
View raw message