Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E05D011EB1 for ; Tue, 24 Jun 2014 10:23:16 +0000 (UTC) Received: (qmail 11926 invoked by uid 500); 24 Jun 2014 10:23:16 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 11891 invoked by uid 500); 24 Jun 2014 10:23:16 -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 11874 invoked by uid 99); 24 Jun 2014 10:23:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2014 10:23:16 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of orudyy@gmail.com designates 209.85.160.169 as permitted sender) Received: from [209.85.160.169] (HELO mail-yk0-f169.google.com) (209.85.160.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2014 10:23:14 +0000 Received: by mail-yk0-f169.google.com with SMTP id 79so36715ykr.14 for ; Tue, 24 Jun 2014 03:22:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=OYtx2k0oVKM4zyGcTbTnh+AhfbBxLDH93cRFojYO9+0=; b=d9tqry6TCo/3PFe366ieKaJ0vfLDF2aGZWKdYtmg9wEf3kSOdYKa5eS2jDNU/Ybdku eW8VY3myvpLEW4hk5R9vS0WHQUDHk5Wa+9pPMwbFe7EIXNGmbZ10VUW8OzZMVhPemlID G4JPcsVQ/qPqV2xrTNs16VEzHdE1xAjomrmCFjOlDE61fa/3zhhZRZLcmbRLzcnz75Y2 wBqvERrWZ/NDt5CU1ZbtLWMdqHXVFBJpD1nwpGprJ+BJGg/zTG+EiEoLzgdt1JRlio0J i6rCouuqwtRp6r3yHFdHL5FqvNkK2fuzfLis+3QKVrLLc+xPXBcvzxOQ9JjEHXNbCDz0 +o2g== MIME-Version: 1.0 X-Received: by 10.236.96.198 with SMTP id r46mr45702yhf.106.1403605369831; Tue, 24 Jun 2014 03:22:49 -0700 (PDT) Received: by 10.170.70.195 with HTTP; Tue, 24 Jun 2014 03:22:49 -0700 (PDT) In-Reply-To: <1403523081713-7609553.post@n2.nabble.com> References: <1403523081713-7609553.post@n2.nabble.com> Date: Tue, 24 Jun 2014 11:22:49 +0100 Message-ID: Subject: Re: How to turn off pre-fetched when browse LVQ From: Oleksandr Rudyy To: users@qpid.apache.org Content-Type: multipart/alternative; boundary=001a11c1e6a879455e04fc925716 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1e6a879455e04fc925716 Content-Type: text/plain; charset=UTF-8 Hi, The maximum prefetch value is set to 500 by default in Qpid JMS client for AMQP 0.10 and 0.8/0.9.x protocols. You cannot turn it off by you can set it to 1 or any other value. The max prefetch value can be set either as a connection URL option or as JVM setting. Please, read [1] or [2] for details how to set it up. Kind Regards, Alex [1] http://qpid.apache.org/releases/qpid-0.28/programming/book/QpidJNDI.html#section-jms-connection-url [2] http://qpid.apache.org/releases/qpid-0.28/jms-client-0-8/book/JMS-Client-0-8-Client-Understanding-Session.html On 23 June 2014 12:31, lixucheng wrote: > When I use JMS to browse my LVQ, why the queue attribute "Pre-fetched:" is > always increase, for example: when I browse 5 messages, the pre-fetched > will > be 5 msgs, when I browse the 5 messages again, the pre-fetched will > increase > to 10 msgs. Dose anyone know how to turn off the pre-fetched, or set to a > fix value, do not increase always? Thanks. > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/How-to-turn-off-pre-fetched-when-browse-LVQ-tp7609553.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > For additional commands, e-mail: users-help@qpid.apache.org > > --001a11c1e6a879455e04fc925716--