You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Websphere and ActiveMQ <de...@hotmail.com> on 2009/05/27 23:07:54 UTC

Is there a way to limit the number of messages for a selector?

I'm useing 5.2.0, don't know how to limit only 1 message for a selector in
queue, for example, I send 10 message for selector(terminal id = 2), but I
only want to keep the latest message in the queue, the others should be
discarded. 

Could somebody tell me how I can reach it.

Thanks,
-- 
View this message in context: http://www.nabble.com/Is-there-a-way-to-limit-the-number-of-messages-for-a-selector--tp23750840p23750840.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.