From users-return-50659-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Fri Nov 2 10:42:12 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3B1BD18062B for ; Fri, 2 Nov 2018 10:42:12 +0100 (CET) Received: (qmail 8304 invoked by uid 500); 2 Nov 2018 09:42:11 -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 8276 invoked by uid 99); 2 Nov 2018 09:42:10 -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; Fri, 02 Nov 2018 09:42:10 +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 AF4E91A3209 for ; Fri, 2 Nov 2018 09:42:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.987 X-Spam-Level: X-Spam-Status: No, score=-0.987 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-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 Lw7DeLsJFgUz for ; Fri, 2 Nov 2018 09:42:07 +0000 (UTC) Received: from adonis.tweakers.net (adonis.tweakers.net [213.239.154.11]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 15A655F58F for ; Fri, 2 Nov 2018 09:42:07 +0000 (UTC) Received: from [10.75.99.51] (devvers.tweaknet.net [212.41.134.182]) by adonis.tweakers.net (Postfix) with ESMTPSA id EF53D40A72 for ; Fri, 2 Nov 2018 10:42:00 +0100 (CET) Subject: Re: Broker redelivery predispatch check across consumers is not working To: users@activemq.apache.org References: <1540811929263-0.post@n4.nabble.com> <1540870325666-0.post@n4.nabble.com> From: Arjen van der Meijden Message-ID: Date: Fri, 2 Nov 2018 10:41:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1540870325666-0.post@n4.nabble.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit We have roughly the same issue, did you find a solution yet? We use Stomp queue consumers with which we had a message that caused a crash, the consumer restarted, crashed again, etc. Obviously the crashing part is our responsibility, but we wanted to see if we could prevent endless resends from ActiveMQ and ran into this same scenario with redelivery regardless of redeliveryPolicy-rules. Best regards, Arjen On 30-10-2018 04:32, djdkedev wrote: > Thank you for quick response. > > ActiveMQ Version:5.15.6 > > I want to test the broker redelivery predispatch check, therefore > jms.redeliveryPolicy.maximumRedeliveries is set to zero at consumer level. > Even though there is no mismatch, the redelivery counter goes beyond what is > set in the redelivery plugin.The message got redelivered more than 20 times. > I observed the same behavior when jms.redeliveryPolicy.maximumRedeliveries > is 1 or 0 on client side. > I kept it zero because > http://activemq.2283324.n4.nabble.com/redeliveryPlugin-seems-to-have-problems-with-defaultEntry-td4685094.html > suggested to keep it zero to avoid conflict between client redelivery and > broker redelivery. > > Message:ActiveMQTextMessage {commandId = 6, responseRequired = true, > messageId = ID:T320-2881-1540869039378-6:1:1:1:1, originalDestination = > null, originalTransactionId = null, producerId = > ID:T320-2881-1540869039378-6:1:1:1, destination = queue://DATAITEM_QUEUE, > transactionId = null, expiration = 0, timestamp = 1540869039752, arrival = > 0, brokerInTime = 1540869039763, brokerOutTime = 1540869640172, > correlationId = ee0676b859f9af68, replyTo = null, persistent = false, type = > null, priority = 4, groupID = null, groupSequence = 0, targetConsumerId = > null, compressed = false, userID = null, content = > org.apache.activemq.util.ByteSequence@619a52c3, marshalledProperties = null, > dataStructure = null, *redeliveryCounter = 21*, size = 0, properties = null, > readOnlyProperties = true, readOnlyBody = true, droppable = false, > jmsXGroupFirstForConsumer = false, text = Item:1, > CorelationId:ee0676b859f9af68} > > Hope this helps. > > > > > > -- > Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html >