I tried the deadLetterQueue setting for Queue works but for topic does not work ,after message expired in topic. it will not be moved to configured deadLetterQueue. below is my setting in xml, any hints or suggestions?
<destinationPolicy> <policyMap> <policyEntries> <policyEntry topic=">" producerFlowControl="false" memoryLimit="1mb"> <dispatchPolicy> <strictOrderDispatchPolicy /> </dispatchPolicy> <deadLetterStrategy> <individualDeadLetterStrategy topicPrefix="Test.DLQ." useQueueForQueueMessages="true"/> </deadLetterStrategy> </policyEntry> <policyEntry queue=">"> <deadLetterStrategy> <individualDeadLetterStrategy queuePrefix="DLQ." useQueueForQueueMessages="true"/> </deadLetterStrategy> </policyEntry> </policyEntries> </policyMap> </destinationPolicy> -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html