From users-return-20676-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Thu Oct 01 21:42:50 2009 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 75745 invoked from network); 1 Oct 2009 21:42:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Oct 2009 21:42:50 -0000 Received: (qmail 69826 invoked by uid 500); 1 Oct 2009 21:42:50 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 69767 invoked by uid 500); 1 Oct 2009 21:42:50 -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 69757 invoked by uid 99); 1 Oct 2009 21:42:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 21:42:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 21:42:40 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MtTPn-0007R4-IX for users@activemq.apache.org; Thu, 01 Oct 2009 14:42:19 -0700 Message-ID: <25707024.post@talk.nabble.com> Date: Thu, 1 Oct 2009 14:42:19 -0700 (PDT) From: xbryan To: users@activemq.apache.org Subject: Prefetch=0 not allowed with Spring MDP? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: bryan@vancameron.net X-Virus-Checked: Checked by ClamAV on apache.org On the ActiveMQ pages, it states that "When using Spring JMS and MessageDrivenPojo, you cannot use a prefetch of 0, so use 1 instead." http://activemq.apache.org/what-is-the-prefetch-limit-for.html Is this old information? There seems to be a fair bit of old information on the ActiveMQ website, so I can't tell if this is still correct. I am using prefetch=0 with Spring MDP, and things seem to work. I have mostly slow consumers, so I want messages distributed as consumers free up. The only problem I notice is that ActiveMQ takes forever to shutdown when prefetch=0. -- View this message in context: http://www.nabble.com/Prefetch%3D0-not-allowed-with-Spring-MDP--tp25707024p25707024.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.