camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoran Regvart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (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:27:00 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048927#comment-16048927
] 

Zoran Regvart commented on CAMEL-11409:
---------------------------------------

[~vandenbrink@zorgdomein.nl] thank you for this, can you create a GitHub pull request for
this change instead? It's a bit easier for us to review and merge this. Let me know if you
have problems doing that I would be happy to help, you can find me on [IRC|https://camel.apache.org/irc-room.html]
at #apache-camel as zregvart.

> 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