But an even better solution is to configure NO DLQ for such address.
Again in <address-setting>:
<expiry-address></expiry-address>
e.
-----Original Message-----
From: Dondorp, Erwin
Sent: vrijdag 31 maart 2023 15:04
To: [email protected]
Subject: RE: ActiveMQ / configure queues
See
https://activemq.apache.org/components/artemis/documentation/latest/message-expiry.html
There are the address-parameters: min-expiry-delay and max-expiry-delay
-----Original Message-----
From: Ephemeris Lappis <[email protected]>
Sent: vrijdag 31 maart 2023 15:01
To: [email protected]
Subject: ActiveMQ / configure queues
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.
Hello.
Is there any way to configure queues on the server side with specific settings
like "time to live" for example ? The same way, I'd like to enable or disable
DLQ for some queues.
Our XML configuration already uses policies like :
<policyEntry queue=">" producerFlowControl="true" memoryLimit="256m"
queuePrefetch="1" lazyDispatch="true">
<deadLetterStrategy>
<individualDeadLetterStrategy queuePrefix="DLQ."
useQueueForQueueMessages="true"/>
</deadLetterStrategy>
</policyEntry>
Can I set similar policies to exclude DLQ for queues with a given pattern, and
setting a time to live ?
For example, if I set a first policy with queue="PREFIX1.>" without DLQ
strategy, is the other policy applied to other queues ?
Thanks in advance for your help.
Regards.