Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AA1249DD2 for ; Tue, 18 Oct 2011 00:50:37 +0000 (UTC) Received: (qmail 31947 invoked by uid 500); 18 Oct 2011 00:50:37 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 31919 invoked by uid 500); 18 Oct 2011 00:50:37 -0000 Mailing-List: contact dev-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 dev@camel.apache.org Received: (qmail 31911 invoked by uid 99); 18 Oct 2011 00:50:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2011 00:50:37 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2011 00:50:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 95ACA2B1C9B for ; Tue, 18 Oct 2011 00:50:10 +0000 (UTC) Date: Tue, 18 Oct 2011 00:50:10 +0000 (UTC) From: "Matthew McMahon (Created) (JIRA)" To: dev@camel.apache.org Message-ID: <1904673008.3169.1318899010614.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CAMEL-4556) NettyProducer creating new connection on every message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org NettyProducer creating new connection on every message ------------------------------------------------------ Key: CAMEL-4556 URL: https://issues.apache.org/jira/browse/CAMEL-4556 Project: Camel Issue Type: Bug Components: camel-netty Affects Versions: 2.8.1 Reporter: Matthew McMahon Priority: Minor Using a NettyProducer without the disconnect=true configuration is causing the route to block after 10 messages on the to("netty://tcp....") call. It appears that a new socket connection is created for every message, and then after 10 connections no new connection is allowed (must be a default thread pool limit?). Using the disconnect=true option fixes the problem as a socket is connected, message sent, then disconnected. But this does not seem viable for implementations where that overhead is undesirable. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira