Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 63599 invoked from network); 8 Apr 2010 14:40:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Apr 2010 14:40:07 -0000 Received: (qmail 38616 invoked by uid 500); 8 Apr 2010 14:40:07 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 38587 invoked by uid 500); 8 Apr 2010 14:40:07 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 38574 invoked by uid 99); 8 Apr 2010 14:40:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Apr 2010 14:40:06 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bruce.snyder@gmail.com designates 209.85.160.43 as permitted sender) Received: from [209.85.160.43] (HELO mail-pw0-f43.google.com) (209.85.160.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Apr 2010 14:40:02 +0000 Received: by pwj6 with SMTP id 6so3052790pwj.2 for ; Thu, 08 Apr 2010 07:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=qxPcfdXHjuFS/g4qW43dE1pzH4kF7y2QbZZq9/KB0VY=; b=EaRu6U0TqLV09CfeuzGbfbvLLfsa3LafDoCIIuFMeHKARzMvCpvVNhH3tbGRM88095 kWdd/Y+W9eYp8ewfocDSwiZFu9IaT6wQZ4Rr9HwMlBEShZ+T/sbMMh12VR3Wvz/QZjcF tZYvKQE4DbVLJ/AMnNe/W0ACkB3HtVIhRnPb8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WDOfWrtvzkssEoDh5JoHLfC3uhv3l2XCssRyf7Wmv26PK/4ylqxkJ6a3vz1R21eHrg jdfA0dDfUv1t13L4lg6dcq2EX22I6CLaPlCXlvQft6MFFlRxngPQKL8XTrW4kWg3ff6T toXA8eiKE0wdtrNvAN7HsukVOlf3FitQX0jw0= MIME-Version: 1.0 Received: by 10.231.168.132 with HTTP; Thu, 8 Apr 2010 07:39:39 -0700 (PDT) In-Reply-To: <28174121.post@talk.nabble.com> References: <28163471.post@talk.nabble.com> <28173978.post@talk.nabble.com> <28174121.post@talk.nabble.com> Date: Thu, 8 Apr 2010 08:39:39 -0600 Received: by 10.141.107.9 with SMTP id j9mr292564rvm.177.1270737579899; Thu, 08 Apr 2010 07:39:39 -0700 (PDT) Message-ID: Subject: Re: Relationship between Producer, Session and Connection. From: Bruce Snyder To: users@activemq.apache.org Cc: Mark Pollack Content-Type: text/plain; charset=ISO-8859-1 On Wed, Apr 7, 2010 at 10:56 PM, mattcodes wrote: > > The .Net library does not have a pooled connection factory. I will look at > porting the Java one. > > ...Yikes, I think I'll drop that idea, the naming is already making it not > suitable for hangover day. ConnectionPool represents a connection and > associated pool, not a connection pool. There is a CachingConnectionFactory in the Spring .NET APIs: http://springframework.net/docs/1.3.0/api/net-2.0/html/topic17141.html I believe that the implementation in Spring .NET is nearly the same as the one in the Spring Java APIs. But I'm not a Windows/.NET type so I've CC'd Mark Pollack who created and maintains Spring .NET. > 1 to 1 for producer to session, and then shared connection(s). From what I > read things will be multiplexed onto the connection, is there anything on > the broker side to see the usage of a connection - how much its maxed out > by? thus providing a indicator of when to bring in multiple connections Various aspects of ActiveMQ can be monitored through JMX and jconsole will provide resource utilization monitoring. The best thing to do is test it in your environment (i.e., on your machines with your destinations, with your anticipated load, etc.) and watch the broker memory usage. The memory available to the broker can be adjusted via the element in the activemq.xml. More info about it is available here: http://activemq.apache.org/producer-flow-control.html#ProducerFlowControl-Systemusage Bruce -- perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E