John, I usually put the following properties in the address-settings for the ExpiryQueue (and DLQ):
* min-expiry-delay = 15 minutes * max-expiry-delay = 15 minutes * expiry-delay = 15 minutes * expiry-address = empty (everything in the required xml format of course) This way, all expired/dlq messages are visible for another 15 minutes, after which they are automatically removed for good. Erwin From: John Lilley <john.lil...@redpointglobal.com.INVALID> Sent: maandag 20 maart 2023 16:56 To: users@activemq.apache.org Subject: ExpiryQueue counts EXTERNAL SENDER: Do not click any links or open any attachments unless you trust the sender and know the content is safe. EXPÉDITEUR EXTERNE: Ne cliquez sur aucun lien et n’ouvrez aucune pièce jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez l'assurance que le contenu provient d'une source sûre. Hi, Under some circumstances we see ExpiryQueue count grow quite large, over 10k. I think we know why this happens, and it may be unavoidable. My question is, will this high count impact the broker? If so, what is the recommended solution? Can and should we just consume the ExpiryQueue? Thanks john [rg]<https://urldefense.com/v3/__https:/www.redpointglobal.com/__;!!AaIhyw!pxH6-8rlbIjf3IjEirHIlcy2khDEM3MvODnNN5Mkmu5LvFBGOFVwrD1--uOMTlHMBJNh9x_a2dDNs93fBXvHeOHEUnD7ze1SS_Y$> John Lilley Data Management Chief Architect, Redpoint Global Inc. 888 Worcester Street, Suite 200 Wellesley, MA 02482 M: +1 7209385761<tel:+1%207209385761> | john.lil...@redpointglobal.com<mailto:john.lil...@redpointglobal.com> PLEASE NOTE: This e-mail from Redpoint Global Inc. (“Redpoint”) is confidential and is intended solely for the use of the individual(s) to whom it is addressed. If you believe you received this e-mail in error, please notify the sender immediately, delete the e-mail from your computer and do not copy, print or disclose it to anyone else. If you properly received this e-mail as a customer, partner or vendor of Redpoint, you should maintain its contents in confidence subject to the terms and conditions of your agreement(s) with Redpoint.