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 E2BA9910E for ; Wed, 29 Feb 2012 07:47:52 +0000 (UTC) Received: (qmail 4416 invoked by uid 500); 29 Feb 2012 07:47:52 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 4375 invoked by uid 500); 29 Feb 2012 07:47:52 -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 4355 invoked by uid 99); 29 Feb 2012 07:47:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 07:47:51 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.215.45 as permitted sender) Received: from [209.85.215.45] (HELO mail-lpp01m010-f45.google.com) (209.85.215.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 07:47:45 +0000 Received: by lahe6 with SMTP id e6so3410545lah.32 for ; Tue, 28 Feb 2012 23:47:25 -0800 (PST) Received-SPF: pass (google.com: domain of claus.ibsen@gmail.com designates 10.112.87.225 as permitted sender) client-ip=10.112.87.225; Authentication-Results: mr.google.com; spf=pass (google.com: domain of claus.ibsen@gmail.com designates 10.112.87.225 as permitted sender) smtp.mail=claus.ibsen@gmail.com; dkim=pass header.i=claus.ibsen@gmail.com Received: from mr.google.com ([10.112.87.225]) by 10.112.87.225 with SMTP id bb1mr9118927lbb.59.1330501645347 (num_hops = 1); Tue, 28 Feb 2012 23:47:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=mujy+MMQyl3INGfFcO96Wit1UNRWV+bijaEC+7XHrB8=; b=IuD2yCghTYLBYVhIHWaMRQiQbhHTGFZ9DJqSmq8GMu5z0WwE+fVBI0tBc5Y1s/jUnq scLy+W34xnEUhpzf+NmBQsVoioYsYOIaIF5KYWQgRH8UWLzbmvcvbt2QxuEDVlvOCMuc Kzs/Eq4jmZGawu871iSHCicYcytlzYwPTXbgM= Received: by 10.112.87.225 with SMTP id bb1mr7625226lbb.59.1330501645249; Tue, 28 Feb 2012 23:47:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.87.100 with HTTP; Tue, 28 Feb 2012 23:47:05 -0800 (PST) In-Reply-To: <1330500107924-5524245.post@n5.nabble.com> References: <1330500107924-5524245.post@n5.nabble.com> From: Claus Ibsen Date: Wed, 29 Feb 2012 08:47:05 +0100 Message-ID: Subject: Re: ThreadPoolProfile and multicast To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi You should only just configured executorServiceRef, if using a custom thread pool / thread pool profile. The parallelProcessing should not be configured as well. We should possible improved this by validating this and reject as mis configuration. Fell free to create a JIRA ticket. On Wed, Feb 29, 2012 at 8:21 AM, Preben.Asmussen wrote: > Hi > > I'm wondering why my threadpoolprofile doesn't seem to affect multicast i= n a > route. I have set up a maxPoolsize and poolsize of 5, but when i look in > JConsole is see 11 threads in the pool. Seems to me that the multicast is > not using the custom thread profile but runs with the > defaultThreadPoolProfile. > > Running Camel 2.9.0 > > I have attached VisualVm screenshot. > > Route : > xmlns=3D"http://camel.apache.org/schema/spring"> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 maxPoolSize=3D"5"/> > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 uri=3D"timer:trackplayed?fixedRate=3Dtrue&period=3D30000&delay=3D= 30000" /> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0org.apache.camel.CamelExchangeException > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<= constant>true > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 started" loggingLevel=3D"WARN"/> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 stopOnException=3D"false" executorServiceRef=3D"multicastThreadPoolProfil= e"> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 finished"/> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > Subroutes here ..... > > cheers > Preben > > http://camel.465427.n5.nabble.com/file/n5524245/multicastpool.JPG > multicastpool.JPG > > -- > View this message in context: http://camel.465427.n5.nabble.com/ThreadPoo= lProfile-and-multicast-tp5524245p5524245.html > Sent from the Camel - Users mailing list archive at Nabble.com. --=20 Claus Ibsen ----------------- FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/