Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-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 67C0D18921 for ; Sat, 13 Feb 2016 16:48:23 +0000 (UTC) Received: (qmail 54219 invoked by uid 500); 13 Feb 2016 16:48:22 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 54174 invoked by uid 500); 13 Feb 2016 16:48:22 -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 54162 invoked by uid 99); 13 Feb 2016 16:48:22 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2016 16:48:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 374D7C0943 for ; Sat, 13 Feb 2016 16:48:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.93 X-Spam-Level: ** X-Spam-Status: No, score=2.93 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URI_HEX=1.313, URI_TRY_3LD=0.068] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id oRcFZHFM-Xxc for ; Sat, 13 Feb 2016 16:48:20 +0000 (UTC) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 8C4155FAD8 for ; Sat, 13 Feb 2016 16:48:20 +0000 (UTC) Received: by mail-io0-f181.google.com with SMTP id 9so121449961iom.1 for ; Sat, 13 Feb 2016 08:48:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=mQSEEKQter74C8eMOtwuZtXd5ap6HgD2JcfwtIbGQRQ=; b=eU+Gv9dHVclOugjl5VUVLmqxkM3VdQe+xQ33Lk145jA8VRFVQ1lJ7P2YR6sXNDfMY2 +S3GcQhiAU+UR4SFOqof2Cd9XQulq0j3q/vjBUASpNxaxzM3nRgOFf5hhN/fBOjGXnvC aklL8gW0+LSruivZkyfrV/1P1vJSLgh6LFmDprzNewsAiRPMAQcFo0ksnr0u1B54HF/V zNGR3FSX5+o8IAvQWYPvnbsJdxMXvY0JEx7xBxjG4SpLt4ZnAJGNjStEFKEeZ2B76uXg NmA+ej7tjpdkQslPCLse32tu/545p0Gut2Rp2O9+eNnPaSge6GnRHuk1jHfaoI4ebZCv /9uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=mQSEEKQter74C8eMOtwuZtXd5ap6HgD2JcfwtIbGQRQ=; b=G7PyY8ebBRpSDD/rEldxI45Htiv6hoOsiHLQ0iGBXFySkp65en1M5nIJ/QvPo2r0ge IyHy9vyKBeeHY5XHyYDAFJpK4K6u0Ii05C8WdUu+Ek9BRbZMPbCCLQiZH11gXuy91hdk ZulnrpalVREjoKFeZC2Mv9EcKU3PgRL7T4g8epESEOwDUm5fCH6y7lf4zTJxqRuo5F/J UFYeX7r5CNcy/qABKDbA/oR+03sY9uXB1Skp0bOlsu50YYZsHsX6YtYZV7yKVIU5MTC3 fkdhp62Kwq9TCS4lJvFelLk5pktVM7CJpbTmU81Gdk6Ik0O+MPmGJnLbyngQwWeJoIVd 065w== X-Gm-Message-State: AG10YOR09ZO2ku8xN8njSkyx+JpuWHEfkRVLPRy8kOVX1qBecSORwCx0DyFKv44eCmG3N5MlVRX6C0xnVKjUEg== MIME-Version: 1.0 X-Received: by 10.107.135.30 with SMTP id j30mr10439298iod.103.1455382099992; Sat, 13 Feb 2016 08:48:19 -0800 (PST) Sender: tbain98@gmail.com Received: by 10.50.251.141 with HTTP; Sat, 13 Feb 2016 08:48:19 -0800 (PST) Received: by 10.50.251.141 with HTTP; Sat, 13 Feb 2016 08:48:19 -0800 (PST) In-Reply-To: <1454459948548-4706821.post@n4.nabble.com> References: <1454459948548-4706821.post@n4.nabble.com> Date: Sat, 13 Feb 2016 09:48:19 -0700 X-Google-Sender-Auth: sJQVdoItFjsvmOL3g1xpKEL-uy4 Message-ID: Subject: =?UTF-8?Q?Re=3A_resend_=EF=BC=9Ahow_to_config_the_max_number_of_messag?= =?UTF-8?Q?e_that_activemq_keeped?= From: Tim Bain To: ActiveMQ Users Content-Type: multipart/alternative; boundary=001a113ec64a152a41052ba98d1c --001a113ec64a152a41052ba98d1c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The section of http://activemq.apache.org/slow-consumer-handling.html about ConstantPendingMessageLimitStrategy says "This strategy uses a constant limit for all consumers (above their prefetch size)". What is your consumer's prefetch size? On Feb 2, 2016 6:03 PM, "wuwufen" <1767549189@qq.com> wrote: > hey friend > i tyed the "" but it > seems > dosn't work. > 1 durable subscribe cliend offline > 2 send more than 100 messages to the topic > 3 durable subscribe cliend online > 4 the client still receive all the 100 messages i send.i just want to > receive the latest 10 messages. > > did i do something wrong or forget something=EF=BC=9F > > activemq 5.12.0 > cliend org.fusesource.mqtt > > > > thank you > > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/resend-how-to-config-the-max-number= -of-message-that-activemq-keeped-tp4706821.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > --001a113ec64a152a41052ba98d1c--