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 DB64D10516 for ; Sat, 1 Mar 2014 00:02:56 +0000 (UTC) Received: (qmail 74293 invoked by uid 500); 1 Mar 2014 00:02:56 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74201 invoked by uid 500); 1 Mar 2014 00:02:55 -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 74193 invoked by uid 99); 1 Mar 2014 00:02:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2014 00:02:55 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.posta@gmail.com designates 209.85.217.174 as permitted sender) Received: from [209.85.217.174] (HELO mail-lb0-f174.google.com) (209.85.217.174) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2014 00:02:51 +0000 Received: by mail-lb0-f174.google.com with SMTP id u14so2901586lbd.5 for ; Fri, 28 Feb 2014 16:02:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uctpEBHyQL7iW5V1wXWwCWGrvdNWuG+JuklrFczTk0Y=; b=imAmI4kpd7fs4xqA82KG5tKEIkHSxIfXmbDGwdF/qdsMxS2OLPuZVIG4JROPjC55oO lwD3RhlDVhvYstXyZznKwFtP0d9JzJHsGwLmngGvEIm9QKLgoDDBObvQ2EZetSn1CRyC 0KHvu65MSMW6685afaAnIry4+7Qww+5JijNlByRBt7FySdAPW1azxjJcygygkqjOdDxQ GXzHIy+SOROGRTBACWqUxofVyVhCeGUcdQMVmARnmuqFgqJ55RAtz3FY2XvP+zuAV4qx pnw6tpu5s0kr1EXahCZyN1V/48XWVz8d6VTdeXraZb3iqkCQ6MBE2zdozd2XZASF/wpx 7RfQ== MIME-Version: 1.0 X-Received: by 10.113.5.167 with SMTP id cn7mr12392057lbd.1.1393632150238; Fri, 28 Feb 2014 16:02:30 -0800 (PST) Received: by 10.114.1.174 with HTTP; Fri, 28 Feb 2014 16:02:30 -0800 (PST) In-Reply-To: <1393566577646-4678407.post@n4.nabble.com> References: <1393566577646-4678407.post@n4.nabble.com> Date: Fri, 28 Feb 2014 17:02:30 -0700 Message-ID: Subject: Re: Inflight Count for topics not correct. From: Christian Posta To: "users@activemq.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org interesting. are you looking at the topic itself? what about for the TopicSubscription? On Thu, Feb 27, 2014 at 10:49 PM, khandelwalanuj wrote: > Hi, > > ActiveMQ version : 5.8 > > Problem: Inflight count is not going down for topics once consumer is > disconnected. > > Test Scenario: When there is a producer and a consumer connected to the > broker but consumer is little bit slow, there will be inflight messages in > the broker which are not yet acknowledged. If at this point of time, I stop > consumer it should make inflight count to '0' because those messages are not > inflight now. (for queue these are now held messages and for topic those > messages are dropped). But when I check in Jconsole, I found that: for a > queue it is working fine and going down to 0 but for topics inflight count > is not changing. > > Can someone explain this ? > > Thanks, > Anuj > > > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/Inflight-Count-for-topics-not-correct-tp4678407.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta