[
https://issues.apache.org/jira/browse/AMQ-4700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754003#comment-13754003
]
Subha commented on AMQ-4700:
----------------------------
Was trying to create by looking at this reference but the site is not valid.
Could you redirect me to a site where by I can achieve to configure a broker &
destinations & connection factory ?
Excertps from http://activemq.apache.org/how-does-xbean-compare-to-spring-2.html
Here's a regular Spring 2 XML file using ActiveMQ's XML inside it to configure
a broker & destinations & a connection factory
http://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/test/resources/spring-embedded-xbean.xml
> 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