Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E371D200C1B for ; Tue, 14 Feb 2017 19:28:52 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E1FBC160B5F; Tue, 14 Feb 2017 18:28:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3745B160B45 for ; Tue, 14 Feb 2017 19:28:52 +0100 (CET) Received: (qmail 93971 invoked by uid 500); 14 Feb 2017 18:28:51 -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 93960 invoked by uid 99); 14 Feb 2017 18:28:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2017 18:28:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 938381A02D7 for ; Tue, 14 Feb 2017 18:28:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.234 X-Spam-Level: ** X-Spam-Status: No, score=2.234 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_FAIL=0.919, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id c70z4cvn22Xr for ; Tue, 14 Feb 2017 18:28:49 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id AD0895FAE6 for ; Tue, 14 Feb 2017 18:28:48 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id 1EF7A2CD46FCA for ; Tue, 14 Feb 2017 11:28:48 -0700 (MST) Date: Tue, 14 Feb 2017 10:24:54 -0800 (PST) From: fenbers To: users@activemq.apache.org Message-ID: <1487096694840-4721984.post@n4.nabble.com> In-Reply-To: References: <1487012538603-4721929.post@n4.nabble.com> Subject: Re: Redelivery of messages previously consumed. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Tue, 14 Feb 2017 18:28:53 -0000 OK. The client app has a durable consumer C has connected to Topic T, and while it is active, messages X, Y, and Z are eventually delivered by the broker and consumed by C. Then, C disconnects and then reconnects (sometimes immediately). When C reconnects, sometimes messages X, Y, and Z are redelivered (and consumed) and sometimes the messages X, Y, and Z seemingly are *not* redelivered even though other messages U, V, and W are delivered and consumed properly. In addition, the same client app has a second durable consumer B connected to Topic S. The mystery is why X, Y, and Z are not always redelivered upon C's reconnection to T, while all messages to Topic S *are* redelivered upon reconnection of consumer B. (To clarify, *no* messages at all are redelivered to C.) Even stranger, on occasion X, Y, and Z (to clarify, *all* messages) *do* sometimes get redelivered after a handful of disconnects/reconnects, but not always. There are always some offline subscriptions D and E, and so the messages X, Y, and Z should still be in the broker until the message expires. In my case, X, Y, and Z are not yet close to expiring when this occurs. There is an overwhelming amount of information in the log files, even without the highest levels of logging. Is there something specific in the log that can tell me anything about the fates of messages X, Y, and Z? Are they still in the broker? If so, why aren't they redelivered on a reconnect? If not, what happened to them? Or maybe the log will say something about the consumer C rejecting redelivery for some reason? To be honest, I am overwhelmed by the logging (most of which I don't understand) for that to be too helpful in my investigation unless I know specifically what to search for. Mark -- View this message in context: http://activemq.2283324.n4.nabble.com/Redelivery-of-messages-previously-consumed-tp4721929p4721984.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.