activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Fernandez <joe.fernan...@ttmsolutions.com>
Subject Re: What's the best way to delete specific messages from the JMS?
Date Tue, 20 Jul 2010 15:50:13 GMT

What about skipping the browser and simply issuing a selective
receiveNoWait() with the messageID that you're interested in removing from
the queue? 

Joe
http://www.ttmsolutions.com
ActiveMQ reference guide at
http://bit.ly/AMQRefGuide

 

odysseyfx wrote:
> 
> What's the best way to delete specific messages from the JMS? Initially I
> was using the activemq specific feature of individual acknowledgement,
> however I didn't like the idea of using something not part of the JMS
> spec.  I switched to using a browser, and then building a consumer with a
> selector for the messageID on demand, but the performance isn't as good
> because I'm actually reading the message twice (browse and then consume to
> perform the delete).
> 
> Any recommendations, suggestions, future hope for the JMS Spec?
> 
> Thanks!
> Brad
> 

-- 
View this message in context: http://old.nabble.com/What%27s-the-best-way-to-delete-specific-messages-from-the-JMS--tp29215922p29215932.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message