activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Subha (JIRA)" <>
Subject [jira] [Created] (AMQ-4700) Customize message eviction policy in a TOPIC NOT working
Date Thu, 29 Aug 2013 13:56:53 GMT
Subha created AMQ-4700:

             Summary: Customize message eviction policy in a TOPIC NOT working
                 Key: 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.

                <policyEntry topic=">" producerFlowControl="true">
<bean xmlns="" class="com.myframework.framework.messaging.LMBMessageEvictionStrategy"

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