From users-return-28311-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Wed Jul 27 11:04:53 2011 Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D897B686A for ; Wed, 27 Jul 2011 11:04:53 +0000 (UTC) Received: (qmail 3458 invoked by uid 500); 27 Jul 2011 11:04:51 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 3073 invoked by uid 500); 27 Jul 2011 11:04:41 -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 3046 invoked by uid 99); 27 Jul 2011 11:04:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2011 11:04:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.35.219.98] (HELO gwstu.uhi.ac.uk) (194.35.219.98) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2011 11:04:29 +0000 Received: from sgarbh.smo.uhi.ac.uk ([194.35.194.47]) by gwstu.uhi.ac.uk with ESMTP; Wed, 27 Jul 2011 12:03:39 +0100 From: Alistair Young Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: dequeue count always 0 Date: Wed, 27 Jul 2011 12:03:37 +0100 Message-Id: <5AFA1916-DEF0-4254-9193-E2B8A86A38E4@UHI.AC.UK> To: users@activemq.apache.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org When I create a new ActiveMQConnectionFactory and use: javax.jms.Connection connection =3D = connectionFactory.createConnection() and set autoacknowledge on the connection session: javax.jms.Session.AUTO_ACKNOWLEDGE when using jconsole the dequeue count is always 0, suggesting the = messages are never acknowledged, even though the message listener = processes the messages and returns successfully (which is when the ack = is done) DequeueCount : 0 DispatchCount: 1000 EnqueueCount: 1000 The topic in question is populated via a Camel route - would that make a = difference? thanks, Alistair --=20 mov eax,1 mov ebx,0 int 80h