Hi JB, I've assembled a testcase which you can find here: https://github.com/semanticfire/amqdurtopic Let me know if things are unclear.
Met Vriendelijke Groet / With Kind Regards Bart van Leeuwen twitter: @semanticfire tel. +31(0)6-53182997 Netage B.V. http://netage.nl Esdoornstraat 3 3461ER Linschoten The Netherlands From: "Jean-Baptiste Onofré" <j...@nanthrax.net> To: users@activemq.apache.org Date: 24-04-2022 07:29 Subject: Re: ActiveMQ 5.15 vs 5.16 behaviour on durable topics Hi Bart, do you have a simple test case to reproduce the behavior change ? Regards JB On Sat, Apr 23, 2022 at 11:58 AM Bart van Leeuwen < bart_van_leeu...@netage.nl> wrote: > Hi, > > I´ve been using ActiveMQ as part of Tomee Plus for a long time with great > satisfaction. > > I use a durable topic to communicate information to a webapp through a > long pol in a servlet. This suits my needs and has worked without issues so > far. > With a recent tomee upgrade I moved from AMQ 5.15.x to 5.16.x and see a > total new behaviour. > > My clients will receive the message on the topic multiple times ( > practically maximumRedeliveries + 1) so if maximumRedeliveries = 2 then the > client will receive the message 3 times. > The Dispatch counter in the console will show maximumRedeliveries + 2 for > every message. > > There is nothing in the logs, and the java servlet reading the topic is a > plain and simple durable topic subscriber as can be found in the numerous > examples on the web. > > I´ve tried going over the changelog and documentation but I cannot find a > issue or setting that seems related to what I observe. > > Any help greatly appreciated! > > Met Vriendelijke Groet / With Kind Regards > Bart van Leeuwen > > > twitter: @semanticfire > tel. +31(0)6-53182997 > Netage B.V. > http://netage.nl > Esdoornstraat 3 > 3461ER Linschoten > The Netherlands >