Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4BBB39BBC for ; Sun, 8 Apr 2012 13:50:39 +0000 (UTC) Received: (qmail 36471 invoked by uid 500); 8 Apr 2012 13:50:39 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 36449 invoked by uid 500); 8 Apr 2012 13:50:39 -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 36435 invoked by uid 99); 8 Apr 2012 13:50:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2012 13:50:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Sun, 08 Apr 2012 13:50:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 273AA36079E for ; Sun, 8 Apr 2012 13:50:18 +0000 (UTC) Date: Sun, 8 Apr 2012 13:50:18 +0000 (UTC) From: "Claus Ibsen (Resolved) (JIRA)" To: issues@camel.apache.org Message-ID: <506952339.897.1333893018169.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <558090714.10982.1328001370165.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CAMEL-4960) NettyProducer with user defined client pipeline factory 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 [ https://issues.apache.org/jira/browse/CAMEL-4960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-4960. -------------------------------- Resolution: Fixed Fix Version/s: 2.9.2 > NettyProducer with user defined client pipeline factory > -------------------------------------------------------- > > Key: CAMEL-4960 > URL: https://issues.apache.org/jira/browse/CAMEL-4960 > Project: Camel > Issue Type: Bug > Components: camel-netty > Affects Versions: 2.8.1 > Environment: Windows 7 > Reporter: Dmitri Zavrid > Assignee: Claus Ibsen > Fix For: 2.10.0, 2.9.2 > > > If user defined client pipeline factory is configured, Netty Producer shares the same instance of ClientPipelineFactory for all created connections. See code below: > configuration.getClientPipelineFactory().setProducer(this); > configuration.getClientPipelineFactory().setExchange(exchange); > configuration.getClientPipelineFactory().setCallback(callback); > clientPipeline = configuration.getClientPipelineFactory().getPipeline(); > Which can cause an issue in multithreaded environment. Maybe it is better to create user defined client pipeline factory for each connection as it is done with DefaultClientPipelineFactory? -- 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