Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 7292 invoked from network); 20 Aug 2008 16:12:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Aug 2008 16:12:25 -0000 Received: (qmail 22358 invoked by uid 500); 20 Aug 2008 16:12:23 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 22338 invoked by uid 500); 20 Aug 2008 16:12:23 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 22327 invoked by uid 99); 20 Aug 2008 16:12:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 09:12:23 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Wed, 20 Aug 2008 16:11:26 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KVqHr-0007dr-3O for dev@activemq.apache.org; Wed, 20 Aug 2008 09:11:55 -0700 Message-ID: <19072258.post@talk.nabble.com> Date: Wed, 20 Aug 2008 09:11:55 -0700 (PDT) From: Richard Gillingham To: dev@activemq.apache.org Subject: RE: Do transactions work in CMS 2.2? In-Reply-To: <5A211522579EBD4A83155ED7FA153063013B685B@corpatsmail1.corp.sensis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: richard@richardgillingham.com References: <19069993.post@talk.nabble.com> <5A211522579EBD4A83155ED7FA153063013B685B@corpatsmail1.corp.sensis.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the reply. Yes I've got a consumer on the queue and see the message correctly come in to my message handler. I then do session.commit() but the message is left on the queue in flight. If I kill the session and restart the same message comes in off the queue again. If I switch back to autoacknowledge then it is removed from the queue. Any ideas? Richard tabish121 wrote: > > As far as I know it works, do you have any consumers on the Queue? > >> -----Original Message----- >> From: Richard Gillingham [mailto:richard@richardgillingham.com] >> Sent: Wednesday, August 20, 2008 10:51 AM >> To: dev@activemq.apache.org >> Subject: CPP: Do transactions work in CMS 2.2? >> >> >> Hi >> >> I've swaped from AutoAcknowledge to transactional sessions and am > seeing >> all >> messages get stuck on the queues. Even if I simply do a > session->commit() >> in the message handler the message remains inflight. Are transactions >> working in CMS 2.2? Is there a fix I can apply? >> >> Thanks in advance >> >> Richard >> -- >> View this message in context: http://www.nabble.com/CPP%3A-Do- >> transactions-work-in-CMS-2.2--tp19069993p19069993.html >> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. > > > -- View this message in context: http://www.nabble.com/CPP%3A-Do-transactions-work-in-CMS-2.2--tp19069993p19072258.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.