Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 85107 invoked from network); 1 Sep 2006 01:39:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Sep 2006 01:39:37 -0000 Received: (qmail 54781 invoked by uid 500); 1 Sep 2006 01:39:37 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 54597 invoked by uid 500); 1 Sep 2006 01:39:37 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 54588 invoked by uid 99); 1 Sep 2006 01:39:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 18:39:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 18:39:36 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GIy03-00073L-Ny for activemq-users@geronimo.apache.org; Thu, 31 Aug 2006 18:39:15 -0700 Message-ID: <6091467.post@talk.nabble.com> Date: Thu, 31 Aug 2006 18:39:15 -0700 (PDT) From: StanleyH To: activemq-users@geronimo.apache.org Subject: can i consume a particular message in the queue? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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.