activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <>
Subject [jira] [Closed] (AMQ-4700) Customize message eviction policy in a TOPIC NOT working
Date Fri, 06 Sep 2013 16:57:51 GMT


Timothy Bish closed AMQ-4700.

    Resolution: Incomplete

cannot tell what the issue is trying to do.  
> Customize message eviction policy in a TOPIC NOT working
> --------------------------------------------------------
>                 Key: AMQ-4700
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Subha
> I have to customize the eviction policy for a TOPIC so I changed activemq.xml file policy
entry to have the entry of my class but it seems the customized class is not being called
whenever a message is post and read from the topic. 
> Any help would be much appreciated.    
> The class highlighted here is implementing MessageEvictionStrategy interface and overriding
the evictMessages  method to implement custom eviction policy.
> I am using active mq version 5.7, JDk 1.7 and broker is running in a standalone manner.
> <destinationPolicy>
>             <policyMap>
>               <policyEntries>
>                 <policyEntry topic=">" producerFlowControl="true">
>                              <messageEvictionStrategy>
> <bean xmlns="" class="com.myframework.framework.messaging.LMBMessageEvictionStrategy"
>                   </messageEvictionStrategy>
>                 </policyEntry>
>         </destinationPolicy>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message