Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 50562 invoked from network); 2 Aug 2006 15:33:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2006 15:33:41 -0000 Received: (qmail 16250 invoked by uid 500); 2 Aug 2006 15:33:41 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 16061 invoked by uid 500); 2 Aug 2006 15:33:40 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 16052 invoked by uid 99); 2 Aug 2006 15:33:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 08:33:40 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of chirino@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 08:33:39 -0700 Received: by ug-out-1314.google.com with SMTP id m2so1999092uge for ; Wed, 02 Aug 2006 08:33:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=DiuntU7TYbmVN6UBjG5Ndv5rqlYTEc+vmRz5EzMDoV/2OpHMKi2LyySX3RUDZdro+mFK5Ylph9PnwE8MOmXnpRPd19QKcdI89njF5CIivr7z9PUACBxSSkffwC3OTbP28rGs9jCSZL0zZ92wOlwTKUV7ZSsUCIpgsBjXz7/LeIg= Received: by 10.66.221.19 with SMTP id t19mr1242079ugg; Wed, 02 Aug 2006 08:33:18 -0700 (PDT) Received: by 10.66.243.7 with HTTP; Wed, 2 Aug 2006 08:33:18 -0700 (PDT) Message-ID: Date: Wed, 2 Aug 2006 11:33:18 -0400 From: "Hiram Chirino" Sender: chirino@gmail.com To: activemq-users@geronimo.apache.org Subject: Re: connections or sessions In-Reply-To: <5614990.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5611329.post@talk.nabble.com> <5614990.post@talk.nabble.com> X-Google-Sender-Auth: ce6520fbe2ec0c67 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The Session Pools they refer to were an optional part of the 1.0.2 JMS spec that allowed applications servers to pool jms sessions. Why? because each JMS session typically requires a dedicated dispatch thread (to deliver to MDBs) associated with it and most app servers want to be in control of thread creation. With the advent of JCA 1.5, the inbound contracts provide a much better way to interface JMS provides and MDBs so the Session Pool stuff has fallen out of favor. But in short, the connection/session pooling that we were talking about and the Session Pool stuff that document talks about are not the same stuff. On 8/2/06, Paul French wrote: > > So why does Jencks for example create a pool of connections ? I know it pools > sessions producers/consumers as well but in general if I use Jencks I will > have many connections. There must be a reason? I've googled all over the > place and I did see a quote on a web logic site which made no sense to me > but it might to you > > http://edocs.bea.com/wls/docs81/jms/implement.html#1298531 > > > > > Note: Session pools are now used rarely, as they are not a required part > > of the J2EE specification, do not support JTA user transactions, and are > > largely superseded by message-driven beans (MDBs), which are simpler, > > easier to manage, and more capable. For more information on designing > > MDBs, see "Designing and Developing Message-Driven Beans" in Programming > > WebLogic Enterprise JavaBeans > > > -- > View this message in context: http://www.nabble.com/connections-or-sessions-tf2039029.html#a5614990 > Sent from the ActiveMQ - User forum at Nabble.com. > > -- Regards, Hiram Blog: http://hiramchirino.com