Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3CF121786A for ; Thu, 29 Jan 2015 23:17:58 +0000 (UTC) Received: (qmail 90423 invoked by uid 500); 29 Jan 2015 23:17:58 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 90360 invoked by uid 500); 29 Jan 2015 23:17:58 -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 90344 invoked by uid 99); 29 Jan 2015 23:17:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2015 23:17:58 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_SOFTFAIL,URI_HEX,URI_TRY_3LD X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of vhle01@gmail.com does not designate 162.253.133.43 as permitted sender) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2015 23:17:32 +0000 Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id A267E1236120 for ; Thu, 29 Jan 2015 15:17:00 -0800 (PST) Date: Thu, 29 Jan 2015 15:12:36 -0800 (PST) From: vhle01 To: dev@activemq.apache.org Message-ID: <1422573156651-4690688.post@n4.nabble.com> Subject: Why does the AdvisoryConsumer only ACK messages once it reaches 75% of prefetch? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org While running through some test, I noticed that the AdvisoryConsumer, which is created automatically if you have watchTopicAdvisories enabled, is only acknowledging message once it reaches 75% of prefetch. Is there any particular reason for that? It just seems a little strange. On the broker, I can see that the messages are being delivered but not acknowledged. Can someone provide a good explanation for this? Or is this a minor bug? Here's a link to the class...lines 68-78: https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=blob;f=activemq-client/src/main/java/org/apache/activemq/AdvisoryConsumer.java;h=1e65ffb06b7ff1c01f3405dde1a84def9a0b4aa1;hb=refs/heads/trunk -- View this message in context: http://activemq.2283324.n4.nabble.com/Why-does-the-AdvisoryConsumer-only-ACK-messages-once-it-reaches-75-of-prefetch-tp4690688.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.