Return-Path: Delivered-To: apmail-qpid-users-archive@www.apache.org Received: (qmail 64331 invoked from network); 9 Sep 2009 15:16:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Sep 2009 15:16:35 -0000 Received: (qmail 71981 invoked by uid 500); 9 Sep 2009 15:16:34 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 71964 invoked by uid 500); 9 Sep 2009 15:16:34 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 71954 invoked by uid 99); 9 Sep 2009 15:16:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 15:16:34 +0000 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 (athena.apache.org: domain of gsim@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 15:16:26 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n89FG6EK019979 for ; Wed, 9 Sep 2009 11:16:06 -0400 Received: from [10.11.9.138] (vpn-9-138.rdu.redhat.com [10.11.9.138]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n89FG4Oj029690 for ; Wed, 9 Sep 2009 11:16:05 -0400 Message-ID: <4AA7C63C.20600@redhat.com> Date: Wed, 09 Sep 2009 16:14:04 +0100 From: Gordon Sim Organization: Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom.,Registered in England and Wales under Company Registration No. 3798903,Directors: Michael Cunningham (USA), Charlie Peters (USA) and David Owens (Ireland) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: browse queue References: <4AA7C465.7090106@bellsouth.net> In-Reply-To: <4AA7C465.7090106@bellsouth.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Virus-Checked: Checked by ClamAV on apache.org On 09/09/2009 04:06 PM, Bill Whiting wrote: > Is there sample code or explanation in the documentation on how to > browse a queue. No, but I have a Jira open for some doc improvements and have noted this as one of them (feel free to add more comments to that). > I have setup a local queue and subscribed to messages from a queue in > the broker. I set acquire mode to pre-acquire and the accept mode to none. > > The messages are still removed from the broker's queue even though I > don't accept the message. You want to set the acquire mode to 'not acquired'. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org