Hi Stanley, Having done something similar, I'd recommend using a database. Queues are great for many things like load balancing, sending messages really quickly and running persistent queries. They're not so great for doing lookups for particular messages based on some criteria as neither the messageId nor the message properties are indexed.
cheers, j. On 9/1/06, StanleyH <[EMAIL PROTECTED]> wrote:
hi, I need to consume/delete a particular message in the queue. I am using queuebrowser to iterate through each message and when the user wants to delete the message currently pointing by the iterator I create consumer with selector = that messageID? to consume it? are there better methods for doing it? I am trying to store a count for the number of times a message's been read by recipient too. thanks for any help. -- View this message in context: http://www.nabble.com/can-i-consume-a-particular-message-in-the-queue--tf2200245.html#a6091467 Sent from the ActiveMQ - User forum at Nabble.com.
