that for the reply, i found the reson. then modified the activemq.xml like
below , it works

then question is , the policyEntries i used is only for queue.
destinationPolicy is only for queue.
is there a example configuration of destinationPolicy  for both of topic and
queue ?

    <broker xmlns="http://activemq.apache.org/schema/core";
brokerName="localhost" dataDirectory="${activemq.data}" >

                  <destinationPolicy>
                        <policyMap>
                          <policyEntries>
                                
                                <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

Reply via email to