Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 53727 invoked from network); 15 Sep 2009 06:34:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Sep 2009 06:34:04 -0000 Received: (qmail 3277 invoked by uid 500); 15 Sep 2009 06:34:04 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 3228 invoked by uid 500); 15 Sep 2009 06:34:04 -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 3218 invoked by uid 99); 15 Sep 2009 06:34:04 -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 06:34:04 +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 robert.nicholson@gmail.com designates 209.85.210.200 as permitted sender) Received: from [209.85.210.200] (HELO mail-yx0-f200.google.com) (209.85.210.200) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 06:33:51 +0000 Received: by yxe38 with SMTP id 38so4958533yxe.6 for ; Mon, 14 Sep 2009 23:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=LVTQVYde9YWUHRAmg8P61j4UIGQd6894yfao5qgOlKw=; b=eyBMzf03LqX2OVR3oKdpszkDKk7XzxA4hQnqABtmODgByYG2NIw+GYThydvLB+3zXQ e7AXV/iW1oGIIVF8TjvkTtWO83DpPHnD5mtwnra1iADC2rDqKenqiwteaHMIeXl/8Gwh Nxs4rbnhUNDvg4H6zz4dkPueceVktSRT5ay2s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=Cg4Vyji1/h3Jxzy0Ty7bM0HTvhqobw+AV+ex72sCG5F/bHasrhz0lmbwGRnq+cVzU7 xTfarSIiGkoZp2zojpbWlAoHaagEY1ikF0+EzId5He56FLolJxob7nQBWm6+Hk7huQtZ ACOrclw2Gqvxdc2TAEZD4my1bHWLMv+ITnxVY= Received: by 10.101.113.12 with SMTP id q12mr7140670anm.124.1252996410907; Mon, 14 Sep 2009 23:33:30 -0700 (PDT) Received: from ?10.0.1.5? ([66.102.121.53]) by mx.google.com with ESMTPS id 20sm3132523yxe.14.2009.09.14.23.33.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 14 Sep 2009 23:33:30 -0700 (PDT) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: Messages left on the queue when using a transacted session. From: Robert Nicholson In-Reply-To: Date: Tue, 15 Sep 2009 01:33:29 -0500 Content-Transfer-Encoding: 7bit Message-Id: <5F75985D-6241-4D62-9190-D21ED5F6B416@gmail.com> References: <8C6D952F-AC1F-463A-80A7-5905AE227B11@gmail.com> To: users@activemq.apache.org X-Mailer: Apple Mail (2.1076) X-Virus-Checked: Checked by ClamAV on apache.org 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/ > > > > >