Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B981A200CA7 for ; Wed, 14 Jun 2017 11:27:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B8053160BDB; Wed, 14 Jun 2017 09:27:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0B81F160BCB for ; Wed, 14 Jun 2017 11:27:17 +0200 (CEST) Received: (qmail 85125 invoked by uid 500); 14 Jun 2017 09:27:17 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 85116 invoked by uid 99); 14 Jun 2017 09:27:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2017 09:27:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D61BFC05AA for ; Wed, 14 Jun 2017 09:27:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id TrKRk_tgLDY0 for ; Wed, 14 Jun 2017 09:27:15 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id AFFD060EE9 for ; Wed, 14 Jun 2017 09:27:14 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E5F87E0DBB for ; Wed, 14 Jun 2017 09:27:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 34B8421E12 for ; Wed, 14 Jun 2017 09:27:00 +0000 (UTC) Date: Wed, 14 Jun 2017 09:27:00 +0000 (UTC) From: "Zoran Regvart (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-11409) The time camel waits for a WriteFuture to complete is hard-coded 10 seconds, this should be configurable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 14 Jun 2017 09:27:18 -0000 [ 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)