Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 86882 invoked from network); 15 Sep 2009 13:51:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Sep 2009 13:51:54 -0000 Received: (qmail 20537 invoked by uid 500); 15 Sep 2009 13:51:54 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 20519 invoked by uid 500); 15 Sep 2009 13:51:54 -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 20509 invoked by uid 99); 15 Sep 2009 13:51:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 13:51:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rajdavies@gmail.com designates 72.14.220.156 as permitted sender) Received: from [72.14.220.156] (HELO fg-out-1718.google.com) (72.14.220.156) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 13:51:41 +0000 Received: by fg-out-1718.google.com with SMTP id 16so803886fgg.14 for ; Tue, 15 Sep 2009 06:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=nVBncW75Iis7jJYvRUvvfdmJJjl4rEwci/DCGbNKPYU=; b=ONau8xOKub9SAFlWZMtEqYskZ9jk2DJ9R4AOtuI0qdcaikqS2B1CW5Bvl9+wME4U3X fBk2hT73DGelJjTZTtFx31hMF0KDgde0dHZvy83vXP1zQNuJ6Mmr6g3pjAcbDp8masea qRAbw2YelmP9odLdFhJ+9e8aKSuDf3EH4OSBw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=BP9NQvX0JEP8UDkLenPNbfE69Oz1P6KnyYthGrk/F84w8X3+9LWFYE+nk7SW39IqF4 M/PD93TP4su0kgFsQa0UBPzycZvUK4p4RV1DdoB1eKky+JXOxJHqVOzOusmSt6cNhf+5 ZuCapC5EI5RQ5zGsEB9MIxm5v5h/gcumyRulA= Received: by 10.86.210.32 with SMTP id i32mr6121689fgg.60.1253022619119; Tue, 15 Sep 2009 06:50:19 -0700 (PDT) Received: from ?192.168.1.66? (host86-164-12-4.range86-164.btcentralplus.com [86.164.12.4]) by mx.google.com with ESMTPS id l19sm1851883fgb.17.2009.09.15.06.50.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 15 Sep 2009 06:50:18 -0700 (PDT) Message-Id: <3709C29B-12BB-4CA9-8812-D9F5E599102E@gmail.com> From: Rob Davies To: users@activemq.apache.org In-Reply-To: <703C5C32-E55B-4472-B2C2-5F6A77AA5C47@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Messages left on the queue when using a transacted session. Date: Tue, 15 Sep 2009 14:50:13 +0100 References: <8C6D952F-AC1F-463A-80A7-5905AE227B11@gmail.com> <5F75985D-6241-4D62-9190-D21ED5F6B416@gmail.com> <703C5C32-E55B-4472-B2C2-5F6A77AA5C47@gmail.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Can we have a test case please ? :) On 15 Sep 2009, at 14:41, Robert Nicholson wrote: > I just tried my app with the 5.3 SNAPSHOT and when I run it I see my > process is consuming messages but every single one of them is always > left on the queue. This even when my JMS Session is AUTO_ACKNOWLEDGE > > On Sep 15, 2009, at 2:40 AM, Rob Davies wrote: > >> >> On 15 Sep 2009, at 07:33, Robert Nicholson wrote: >> >>> On each occasion when I notice messages are no longer being >>> delivered. If I restart my app after restarting the broker the >>> messages begin to deliver. >>> >>> On Sep 15, 2009, at 12:56 AM, Rob Davies wrote: >>> >>>> >>>> On 15 Sep 2009, at 06:42, Robert Nicholson wrote: >>>> >>>>> So, I have a pretty standard JMS message listener but when using >>>>> ActiveMQ it often just doesn't receive any messages even when >>>>> there are messages on the queue. The Session is a transacted one >>>>> with AUTO_ACKNOWLEDGE but for some reason the messages are never >>>>> taken off the queue. >>>>> >>>>> I believe AUTO_ACKNOWLEDGE is ignored and eventually it says >>>>> SESSION_TRANSACTED but what I don't understand is upon >>>>> committing the session the messages are still on the queue. >>>>> >>>>> Why is that? >>>>> >>>>> >>>>> >>>> >>>> >>>> Er - not sure - can you share your code - or provide a test case ? >>>> >>>> cheers, >>>> >>>> Rob >>>> >>>> Rob Davies >>>> http://twitter.com/rajdavies >>>> I work here: http://fusesource.com >>>> My Blog: http://rajdavies.blogspot.com/ >>>> I'm writing this: http://www.manning.com/snyder/ >>>> >>>> >>>> >>>> >>>> >>> >> >> >> Have you tried the 5.3-SNAPSHOT ? >> >> thanks, >> >> Rob >> >> Rob Davies >> http://twitter.com/rajdavies >> I work here: http://fusesource.com >> My Blog: http://rajdavies.blogspot.com/ >> I'm writing this: http://www.manning.com/snyder/ >> >> >> >> >> >