[ http://jira.activemq.org/jira//browse/AMQ-394?page=comments#action_35906 ]
james strachan commented on AMQ-394: ------------------------------------ Agreed = this is quite a popular feature request. We've currently got a MessageEvictionStrategy which can be applied in the <policyMap> on a specific destination or hierarchy; which lets you decide which messages to evict, such as the oldest or the lowest priority etc. A missing feature right now is evicting all the expired messages; we should have that done soon > for non-durable topics add a configurable Policy to drop messages from slow > consumers > ------------------------------------------------------------------------------------- > > Key: AMQ-394 > URL: http://jira.activemq.org/jira//browse/AMQ-394 > Project: ActiveMQ > Type: New Feature > Components: Broker > Reporter: james strachan > Fix For: 4.1 > > > e.g. for market data pricing we may wish to only allow say 1000 pending > messages but discard old messages rather than have things back up. Similarly > we may wish to do something like remove old price changes for the same stock > and just keep around the latest prices. > So some kind of pluggable policy on the non-durable topic subscription would > be a good idea, letting users customize this behaviour. > Maybe some FlowControlPolicy or something? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.activemq.org/jira//secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
