Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 20986 invoked from network); 4 May 2010 13:58:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 May 2010 13:58:03 -0000 Received: (qmail 11046 invoked by uid 500); 4 May 2010 13:58:02 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 11008 invoked by uid 500); 4 May 2010 13:58:02 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 11000 invoked by uid 99); 4 May 2010 13:58:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 13:58:02 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=AWL,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [66.207.171.113] (HELO server.dankulp.com) (66.207.171.113) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 13:57:57 +0000 Received: by server.dankulp.com (Postfix, from userid 5000) id A98C52079F64; Tue, 4 May 2010 09:57:36 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.1-gr2 (2007-05-02) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter.zsPBZys13j Received: from dilbert.localnet (c-24-91-141-225.hsd1.ma.comcast.net [24.91.141.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id ABE9B2079490; Tue, 4 May 2010 09:57:35 -0400 (EDT) From: Daniel Kulp To: users@cxf.apache.org Subject: Re: Work Queue Configuration Date: Tue, 4 May 2010 09:57:44 -0400 User-Agent: KMail/1.13.2 (Linux/2.6.33-gentoo; KDE/4.4.2; x86_64; ; ) Cc: Coder One References: <330843.77067.qm@web57403.mail.re1.yahoo.com> In-Reply-To: <330843.77067.qm@web57403.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005040957.44989.dkulp@apache.org> X-Old-Spam-Status: No, score=-3.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.1-gr2 On Monday 03 May 2010 11:17:34 pm Coder One wrote: > Is this still valid? How do we set a min/max number of threads? You may want to use constuctor-args instead of properties and have it invoke the constuctor: AutomaticWorkQueueImpl(int mqs, int initialThreads, int highWaterMark, int lowWaterMark, long dequeueTimeout, java.lang.String name) That gives you the size of the backing queue, # of initial threads created, high and low water marks on # of threads, the timeout, and the name. > How about > unbounded? Thanks... I don't think it allows unbounded, but setting it to something ridiculously high, like 10K or something, would be just as affective as you'd likely run out of memory long before hitting that many threads. Dan > URI Prefix "myproto://"; > MY_TRANSPORT_ID = "http://xyz.com/cxf/transports/myproto"; > > So, should I use "myproto" for name? > > Thanks... > > === > class="org.apache.cxf.workqueue.AutomaticWorkQueueImpl"> name="name" value="default"/> > > > Also note: jms now will look for a specific workqueue named "jms" as well > as workqueus specifically named the same as the endpoint name. Thus, you > can have workqueues dedicated to a particular endpoint. === -- Daniel Kulp dkulp@apache.org http://dankulp.com/blog