activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Khurram Zaman <Khurram.Za...@sensys.com>
Subject pendingMessageLimitStrategy not working
Date Mon, 27 Apr 2009 06:04:25 GMT
Hi,


 <broker xmlns="http://activemq.apache.org/schema/core" 
brokerName="localhost" dataDirectory="${activemq.base}/data" 
deleteAllMessagesOnStartup="true" > 
                <destinations> 
            <queue physicalName="Queue.abc"/> 
        </destinations> 
        <!-- Destination specific policies using destination names or 
wildcards -->
        <destinationPolicy>
            <policyMap>
                <policyEntries>
                    <policyEntry queue="Queue.abc" >



                                <pendingMessageLimitStrategy> 
 <constantPendingMessageLimitStrategy limit="5" /> 
                                </pendingMessageLimitStrategy> 

 <messageEvictionStrategy> 
                                    <oldestMessageEvictionStrategy /> 
                              </messageEvictionStrategy> 
                                        </policyEntry>



What am I doing wrong?

Regards,



Khurram.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message