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 CC3DA11E91 for ; Fri, 29 Aug 2014 14:23:21 +0000 (UTC) Received: (qmail 6495 invoked by uid 500); 29 Aug 2014 14:23:21 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 6448 invoked by uid 500); 29 Aug 2014 14:23:21 -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 6435 invoked by uid 99); 29 Aug 2014 14:23:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2014 14:23:21 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_HELO_PASS,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2014 14:22:55 +0000 Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id EDA5644A5A7 for ; Fri, 29 Aug 2014 07:17:14 -0700 (PDT) Date: Fri, 29 Aug 2014 07:22:52 -0700 (PDT) From: artnaseef To: users@activemq.apache.org Message-ID: <1409322172351-4685147.post@n4.nabble.com> In-Reply-To: <1409301520098-4685134.post@n4.nabble.com> References: <53FB30ED.1090307@gmail.com> <53FC3E79.1030606@gmail.com> <1409301520098-4685134.post@n4.nabble.com> Subject: Re: Upgrade from 5.9. to 5.10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org The lack of responses is typically due to the fact that this is a 100%-volunteer site and people just aren't around. So, keep trying! To answer the technical question: enqueue and dequeue counts do not persist, so a restart of the broker (or moving messages to another broker) do not maintain those values. Try storing a bunch of messages in a persistent queue, restarting the broker and then consuming them all. You'll find a large dequeue number with an enqueue number of 0. For Queues, use the QueueSize value for each to determine the number of messages each contains. For Topic messages, look at the PendingQueueSize (check the name of this one) in subscriptions since subscriptions store the messages - not the Topic itself. And, for the overall count, use the broker's TotalMessageCount. -- View this message in context: http://activemq.2283324.n4.nabble.com/Upgrade-from-5-9-to-5-10-tp4685006p4685147.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.