activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: can i consume a particular message in the queue?
Date Mon, 04 Sep 2006 06:36:39 GMT
You can also use the MBean to remove a specific message

http://incubator.apache.org/activemq/maven/activemq-core/apidocs/org/apache/activemq/broker/jmx/QueueViewMBean.html#removeMessage(java.lang.String)

On 9/1/06, StanleyH <stanley.k.ho@gmail.com> 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.
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message