Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 94541 invoked from network); 20 Mar 2009 13:01:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2009 13:01:12 -0000 Received: (qmail 20942 invoked by uid 500); 20 Mar 2009 13:01:10 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 20923 invoked by uid 500); 20 Mar 2009 13:01:10 -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 20912 invoked by uid 99); 20 Mar 2009 13:01:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2009 06:01:10 -0700 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gary.tully@gmail.com designates 209.85.220.174 as permitted sender) Received: from [209.85.220.174] (HELO mail-fx0-f174.google.com) (209.85.220.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2009 13:01:00 +0000 Received: by fxm22 with SMTP id 22so964145fxm.38 for ; Fri, 20 Mar 2009 06:00:40 -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:message-id:subject:from:to:content-type; bh=n4bXsIbwu1TlMrRMDPW/w+6MUhBlGXEZZO9Wf4wWh/I=; b=evnf84c8NdqIrwWaVH4CinpIOit5TGMEZWIqVH+t6+Ri/hKtcHta7a15gWUrGokgj6 SoYBmKdZiIMJbv6GVmVhVPeJDVQGKBMtsYFg1W9lHClxHi9cN+Qnr+tGtTHdnvlHMkCQ Ti8T47OYW/i7oSEhf0zP0okq0GpRD5DOBl0B0= 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 :content-type; b=HPabKQbxgBZA8RgKMmLDn6cGBLRZKbPq7b7VRRggwqSg7Ak69aTwz2SUsHehW/X7A6 g4Mh5PdKcdaxA9WddeHpCLzvl6cX2hM5TTdlUnxWlkF3xpGLRMfCPvqzKuF1bivt5B+y 1dqQXsRs+Tcc9cg/WGroX6u0TiU//8imxauUE= MIME-Version: 1.0 Received: by 10.204.31.77 with SMTP id x13mr1253666bkc.6.1237554039526; Fri, 20 Mar 2009 06:00:39 -0700 (PDT) In-Reply-To: <22614510.post@talk.nabble.com> References: <22586789.post@talk.nabble.com> <22614510.post@talk.nabble.com> Date: Fri, 20 Mar 2009 13:00:39 +0000 Message-ID: <3a73c17c0903200600i2e67991k7dd551e0a0e3764b@mail.gmail.com> Subject: Re: ActiveMQ producer/consumer hangs when on of the consumer didn't respond From: Gary Tully To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=001485ecf70aea948c04658c806c X-Virus-Checked: Checked by ClamAV on apache.org --001485ecf70aea948c04658c806c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Prefetch is the problem with pooling consumers. A consumers pre-fetched messages, when that consumer is in a pool, may stay there till the pool is closed and will not be available to other consumers. 2009/3/20 ashoknan > > Am i not supposed to use PooledConnectionFactory for consuming messages.See > the below Java Doc > > http://activemq.apache.org/maven/act...onFactory.html > > > A JMS provider which pools Connection, Session and MessageProducer > instances > so it can be used with tools like Spring's JmsTemplate. NOTE this > implementation is only intended for use when sending messages. It does not > deal with pooling of consumers; for that look at a library like Jencks such > as in this example > I am not sure whether this is outdated. > > Please let me know if anyone faced this issue before > -- > View this message in context: > http://www.nabble.com/ActiveMQ-producer-consumer-hangs-when-on-of-the-consumer-didn%27t-respond-tp22586789p22614510.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source SOA http://FUSESource.com --001485ecf70aea948c04658c806c--