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.