Hello, all!

I have trouble with IndividualDeadLetterStrategy usage.
We need to move expired messages into some queue.
ActiveMQ broker version 5.1.0.

Here activemq.xml:
<beans>
        <broker xmlns="http://activemq.org/config/1.0"; useJmx="true">
                <managementContext>
                        <managementContext useMBeanServer="true"
                                createMBeanServer="false" 
createConnector="false" />
                </managementContext>

                <destinationPolicy>
                        <policyMap>
                                <policyEntries>
                                        <policyEntry queue="jms/central/>">
                                                <deadLetterStrategy>
                                                        
<individualDeadLetterStrategy queuePrefix="DLQ."
useQueueForQueueMessages="true" />
                                                </deadLetterStrategy>
                                        </policyEntry>
                                </policyEntries>
                        </policyMap>
                </destinationPolicy>

                <transportConnectors>
                        <transportConnector uri="tcp://localhost:61616" />
                        <transportConnector uri="vm://localhost" />
                        <transportConnector uri="stomp://localhost:61626" />
                </transportConnectors>
        </broker>
</beans>

I've sent message to "jms/central/Incoming" queue, after expiration of
message it moved into "ActiveMQ.DLQ" queue instead of
"DLQ.jms/central/Incoming".
Why this occuured?

I've tried to change policyEntry element's queue attribute to
"jms/central/Incoming" - nothing changed... :(
-- 
View this message in context: 
http://www.nabble.com/IndividualDeadLetterStrategy-in-AMQ-5.1.0-tp16833143s2354p16833143.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to