No, deletion of inactive destinations is not enabled. The only option I can
think of is creation of the DLQ's on restart by adding an entry for each dlq
in <amq:destinations>. Is that fine? or do you see any better options?

        <amq:destinationPolicy>
                <amq:policyMap>
                        <amq:policyEntries>
                                <amq:policyEntry queue=">" 
timeBeforeDispatchStarts="200">
                                        <amq:deadLetterStrategy>
                                                
<amq:individualDeadLetterStrategy processExpired="true"
queuePrefix="DLQ." useQueueForQueueMessages="true"  />
                                        </amq:deadLetterStrategy>               
                
                                        <amq:dispatchPolicy>
                                                <amq:roundRobinDispatchPolicy />
                                        </amq:dispatchPolicy>
                                </amq:policyEntry>
                        </amq:policyEntries>
                </amq:policyMap>
        </amq:destinationPolicy>



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/AMQ-5-5-0-queues-having-persistent-messages-dropped-on-restart-tp4665430p4665468.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to