Ah, good catch. Artemis doesn’t have PendingMessageLimitStrategy or equivalent?
> On May 21, 2024, at 11:51 AM, Justin Bertram <jbert...@apache.org> wrote: > >> .. or when the PendingMessageLimitStrategy is applied messages may be > dropped based on desired message pattern. > > Just to clarify, the PendingMessageLimitStrategy applies to Classic, but > the question was about Artemis. > > > Justin > > On Tue, May 21, 2024 at 11:41 AM Matt Pavlovich <mattr...@gmail.com> wrote: > >> .. or when the PendingMessageLimitStrategy is applied messages may be >> dropped based on desired message pattern. >> >>> On May 21, 2024, at 10:40 AM, Jean-Baptiste Onofré <j...@nanthrax.net> >> wrote: >>> >>> Hi, >>> >>> If you don't have any subscribers on the topic, the message is directly >> removed. >>> >>> If you have subscribers or durable subscribers, the message is removed >>> when all subscribers send the ack. >>> >>> Regards >>> JB >>> >>> On Thu, May 16, 2024 at 5:10 PM William Crowell >>> <wcrow...@perforce.com.invalid> wrote: >>>> >>>> Hi, >>>> >>>> When is a message dropped from memory on a topic? When it is >> acknowledged? >>>> >>>> I have 10 topics that I noticed that are occupying a large amount of >> heap from Eclipse’s Memory Analysis Tool. I am not seeing any evidence of >> a memory leak, but we have configured a paging policy for each one of these >> topics to combat the issue. >>>> >>>> I noticed there is a messagesAcknowledged and messagesAcknowledged >> fields on org.apache.activemq.artemis.core.server.impl.QueueImpl. >> messagesAcknowledge is usually zero on these queues which take a lot of >> heap. >>>> >>>> Regards, >>>> >>>> William Crowell >>>> >>>> >>>> >>>> >>>> This e-mail may contain information that is privileged or confidential. >> If you are not the intended recipient, please delete the e-mail and any >> attachments and notify us immediately. >>>> >> >>