activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wangclever <wangcle...@163.com>
Subject Automatically Discard Expired Messages has no effect
Date Fri, 24 Apr 2015 03:17:49 GMT
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.

Mime
View raw message