Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C97D81956E for ; Mon, 4 Apr 2016 15:34:49 +0000 (UTC) Received: (qmail 98550 invoked by uid 500); 4 Apr 2016 15:34:49 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 98498 invoked by uid 500); 4 Apr 2016 15:34:49 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 98487 invoked by uid 99); 4 Apr 2016 15:34:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2016 15:34:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A7E26180315 for ; Mon, 4 Apr 2016 15:34:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.486 X-Spam-Level: *** X-Spam-Status: No, score=3.486 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id YcqTjpZMNnR4 for ; Mon, 4 Apr 2016 15:34:46 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id 818725F20E for ; Mon, 4 Apr 2016 15:34:46 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id CF1552474CB1 for ; Mon, 4 Apr 2016 08:22:58 -0700 (PDT) Date: Mon, 4 Apr 2016 08:34:45 -0700 (MST) From: michal1988 To: users@camel.apache.org Message-ID: <1459784085879-5780447.post@n5.nabble.com> In-Reply-To: References: <1459778935995-5780431.post@n5.nabble.com> Subject: Re: AMQPComponent routes - running out of UNIX descriptors MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Quinn, Thanks for the response. I use the newest version 2.17 the same situation with 2.16.2. I cannot shared the code, my terminal is not connected to internet :/ I will try to describe it. The simplified version of the code is: Create DefaultCamelContext(). I create a AMQPComponent like in tutorials. Add it via context.addComponent("amqp", amqpComp"). call addRoutes with RouteBuilder() which create a Route(with json parsing inside of it). Inside of it I read from queue via: from("amqp:queue:name").threads(3,7).unmarshal().json(.......).process(new Processor) and then: .marshal().json().to("amqp:queue:name") Every usage of route create a new connection to AMQP broker so the UNIX descriptor is reserved. In my system there is going to be high number of messages. -- View this message in context: http://camel.465427.n5.nabble.com/AMQPComponent-routes-running-out-of-UNIX-descriptors-tp5780431p5780447.html Sent from the Camel - Users mailing list archive at Nabble.com.