Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 52235 invoked from network); 27 Aug 2008 23:19:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Aug 2008 23:19:41 -0000 Received: (qmail 49839 invoked by uid 500); 27 Aug 2008 23:19:39 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 49452 invoked by uid 500); 27 Aug 2008 23:19:38 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 49441 invoked by uid 99); 27 Aug 2008 23:19:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 16:19:38 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of e.semog@gmail.com designates 209.85.198.240 as permitted sender) Received: from [209.85.198.240] (HELO rv-out-0708.google.com) (209.85.198.240) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 23:18:41 +0000 Received: by rv-out-0708.google.com with SMTP id f25so79320rvb.26 for ; Wed, 27 Aug 2008 16:19:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Q44C87PLVXnbEIV/gG1TIaYs7HjBHCJ0/AUCJD4DcRU=; b=TOVQcAu3cHyD9hIGzvugnjjZP2VHmlzw4PI3FdiNhB3wbQ/yIXABIQynS1nF0sMb1n iONfJLlA7Nf+deXTfqZ+zv7sycNdjldqaz1tnwsAuIaLtJNivodO5UPBtSuH+6E8RywV LaJRVTHrXI3UpiTOIR5qBBpQYJJaKSxx38gMU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=oY4+so+0iEa1WIPBpRevVfvqLEl8l2a87ImpYno/zI88urS5DnDO7oDmEdfzeZQpr4 bEEB401EOYbaoywqHw+5r3X/c53dh9ks6q8ylOWzBBoy52zqGIaqG1yeG2t9E+wZhNLZ mbeynuLG7CFjG/rGxDLinuQKGcEAojREXvCCo= Received: by 10.140.163.3 with SMTP id l3mr357241rve.61.1219879141365; Wed, 27 Aug 2008 16:19:01 -0700 (PDT) Received: by 10.140.163.16 with HTTP; Wed, 27 Aug 2008 16:19:01 -0700 (PDT) Message-ID: <5a56ce1b0808271619w5fb92923x9fde62b500f3989c@mail.gmail.com> Date: Wed, 27 Aug 2008 16:19:01 -0700 From: "Jim Gomes" To: users@activemq.apache.org Subject: Re: NMS: how to get list of messages? In-Reply-To: <6e8974e40808261434o74b4b6f3t9c933f70a2ab31f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6e8974e40808261434o74b4b6f3t9c933f70a2ab31f@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Vadim, There is no way of iterating through the messages that are currently in a queue. The closest you can get is to turn on queue mirrors (http://activemq.apache.org/mirrored-queues.html). There is an enhancement scheduled for NMS 1.1 to add QueueBrowser() as detailed in Jira issue AMQNET-97. Currently, there isn't an API for getting a list of extant queues. I think this functionality is more administrative in nature and should be included in a package that has been discussed and referred to as NMX. This package is not being actively developed, though, as no definite feature scope has been created for it. -Jim On 8/26/08, Vadim Chekan wrote: > Hi all, > I use c# client (NMS) and want to iterate through list of messages > without removing them from the queue. Is it possible? > Also is it possible to get list of queues using NMS library? > > -- > From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT > is explicitly specified >