You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2013/09/06 18:57:51 UTC
[jira] [Closed] (AMQ-4700) Customize message eviction policy in a
TOPIC NOT working
[ https://issues.apache.org/jira/browse/AMQ-4700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://issues.apache.org/jira/browse/AMQ-4700
> 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="http://www.springframework.org/schema/beans" 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: http://www.atlassian.com/software/jira