You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by wangclever <wa...@163.com> on 2015/04/24 05:17:49 UTC
Automatically Discard Expired Messages has no effect
Dear all:
I 'm using activemq 5.8,i config Automatically Discard Expired Messages
as follow:
<destinationPolicy>
<policyMap>
<policyEntries>
<policyEntry topic=">" producerFlowControl="false"
memoryLimit="512 mb" enableAudit="false">
<deadLetterStrategy>
<sharedDeadLetterStrategy
processExpired="false" />
</deadLetterStrategy>
</policyEntry>
<policyEntry queue=">" producerFlowControl="false"
memoryLimit="512 mb" enableAudit="false">
<deadLetterStrategy>
<sharedDeadLetterStrategy
processExpired="false" />
</deadLetterStrategy>
</policyEntry>
</policyEntries>
</policyMap>
</destinationPolicy>
but it has no effect ,it still deliver expire message to DLQ
Name ↑ Number Of Pending Messages Number Of Consumers Messages
Enqueued
ActiveMQ.DLQ 40 0
40
how to solve it ,thanks for any help
--
View this message in context: http://activemq.2283324.n4.nabble.com/Automatically-Discard-Expired-Messages-has-no-effect-tp4695553.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.