Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 9280 invoked from network); 8 Jun 2006 09:10:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jun 2006 09:10:55 -0000 Received: (qmail 86643 invoked by uid 500); 8 Jun 2006 09:10:54 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 86560 invoked by uid 500); 8 Jun 2006 09:10:54 -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 86551 invoked by uid 99); 8 Jun 2006 09:10:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 02:10:54 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of james.strachan@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 02:10:53 -0700 Received: by ug-out-1314.google.com with SMTP id s2so708531uge for ; Thu, 08 Jun 2006 02:10:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rDrmnpiIAsVHBxf/SVVPpd9QKeyKQZ5AknlgYI3ZHOgixmIvUzMNFWjORKDhJLK4GnZ2WPwLbL+p7YGoAoM65Rk2vPYZxwkILr85TnIHvmwsiTgGlpOHZlqbubZuJLUp1jJ8VjdjHqoKFDOPaxmOdGcd2wKss5eOU1CzZnfOiTQ= Received: by 10.67.106.3 with SMTP id i3mr1324637ugm; Thu, 08 Jun 2006 02:10:32 -0700 (PDT) Received: by 10.66.255.17 with HTTP; Thu, 8 Jun 2006 02:10:31 -0700 (PDT) Message-ID: Date: Thu, 8 Jun 2006 10:10:31 +0100 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: Message is read but not removed. In-Reply-To: <4759864.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: <4468266.post@talk.nabble.com> <4500659.post@talk.nabble.com> <4500834.post@talk.nabble.com> <4758118.post@talk.nabble.com> <4759864.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N BTW there was an attempt made at optimising acknowledgements which may have an effect on your issue. I wonder if disabling the 'optimizeAcknowledge' flag on an ActiveMQConnection might help fix it? You can add this to the connection URL like with async send... http://incubator.apache.org/activemq/async-sends.html via tcp://locahost:61616?jms.optimiseAcknowledge=false On 6/7/06, Hugo V wrote: > > Hello again, > > We did more testing on this issues. I think the problem is related to the > pre-fetch parameter. If we force the prefetch to 1 on the connection > factory, then using a AUTO_ACKNOWLEDGE and non-transacted session is working > fine (but slow). > > If we use the default pre-fetch (1000) then messages are not all removed > from the queue. > > Thank you > > -- > View this message in context: http://www.nabble.com/Message-is-read-but-not-removed.-t1649736.html#a4759864 > Sent from the ActiveMQ - User forum at Nabble.com. > > -- James ------- http://radio.weblogs.com/0112098/