activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Websphere and ActiveMQ <derrick...@hotmail.com>
Subject Is there a way to limit the number of messages for a selector?
Date Wed, 27 May 2009 21:07:54 GMT

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.


Mime
View raw message