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 D5AE518DB4 for ; Wed, 10 Feb 2016 14:57:08 +0000 (UTC) Received: (qmail 75498 invoked by uid 500); 10 Feb 2016 14:57:08 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 75453 invoked by uid 500); 10 Feb 2016 14:57:08 -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 75441 invoked by uid 99); 10 Feb 2016 14:57:08 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2016 14:57:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CAE68C0FDD for ; Wed, 10 Feb 2016 14:57:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.639 X-Spam-Level: *** X-Spam-Status: No, score=3.639 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.777] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ucs5Prz_kMUZ for ; Wed, 10 Feb 2016 14:57:06 +0000 (UTC) Received: from mail-io0-f179.google.com (mail-io0-f179.google.com [209.85.223.179]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 7E1EE20507 for ; Wed, 10 Feb 2016 14:57:06 +0000 (UTC) Received: by mail-io0-f179.google.com with SMTP id d63so23456209ioj.2 for ; Wed, 10 Feb 2016 06:57:06 -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=98O0QbsemUgF9Mw29RWufgdDrHJ304l0RCzepO0LffM=; b=UX2AwHu1p9JyERd8wwX/+qD09gdocZhQHxIMPvKQ4ALd7Ya3jSxu++7oMrKCQCeWxO t14D52F24asl+JzWiYAhwS2RSiB0XS+ckuAfqpfteyKCnAviGE8Xlpev7FaFEgL+4pom Q0T63UUdpVh13Ybt11zgHhIatT6VlqaMs35gXwGMzfSgkg05HZwgQwdaSWgT6hLDnmqj +ifwfTZ7noJZXmHEP7qIA94AhDxFcUi65HGjvhAw10LkQzQj+mHJahrP5vnH0k5HGaCA W/xZk7F2INwA6Ywi295/Bopl14oA21P1F88TTIJ+jDMOwxYg55cEcn6DuCKFqX3kP0W7 uUAg== 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=98O0QbsemUgF9Mw29RWufgdDrHJ304l0RCzepO0LffM=; b=CyY4ZuVYrUQawZZuXWQSqSvqJZl198lnQue4HZvumD7T/JnjF+wXsmMOjfn/G2DGjh JucbPES40j44BUKQRoSADibWxtkHtvbOEtg/FzvMn2/CkeuYfgnRC4u1xelS1yGpT023 D7SiCDP5KaVrVgIoUprogcktgEdoEJ9xyXwmKplBT9/E/WbQHEEqP1FZwsJvQ0mxQnud HfmZvifP+7zH2SdPBYEZwP3kGc9uSCuD/yfSr2WR7ktrW0fd7+dtZrntSVMlQsHrNiuE qU2ob3eVpu80+F3n2uE0iABLW0s8UpIYpgfugcoWpKWhp/GxHBbvKU+FJCVCTbqR7uOz aIsw== X-Gm-Message-State: AG10YORta5sI0SmAoUX/Ra5tv032jIRWoOmLc6cazPvqu1kLOZ6OwBFc853GgP8ct+YhlegRZQq2GsZlm6P9+w== MIME-Version: 1.0 X-Received: by 10.107.10.20 with SMTP id u20mr14712917ioi.160.1455116225893; Wed, 10 Feb 2016 06:57:05 -0800 (PST) Sender: tbain98@gmail.com Received: by 10.50.251.141 with HTTP; Wed, 10 Feb 2016 06:57:05 -0800 (PST) Received: by 10.50.251.141 with HTTP; Wed, 10 Feb 2016 06:57:05 -0800 (PST) In-Reply-To: References: <1454479130227-4706865.post@n4.nabble.com> <3B4718ED-38DE-4F64-BD1F-118881FD232B@gmail.com> <1454550947483-4706897.post@n4.nabble.com> Date: Wed, 10 Feb 2016 07:57:05 -0700 X-Google-Sender-Auth: 5WMinJGVJ75NA4iGDOEJtpNjZLs Message-ID: Subject: Re: How fileCursor works? AMQ5.9.1 From: Tim Bain To: ActiveMQ Users Content-Type: multipart/alternative; boundary=001a113ed58ac07c08052b6ba5a9 --001a113ed58ac07c08052b6ba5a9 Content-Type: text/plain; charset=UTF-8 Which messages do you lose when the topic becomes full? Does the broker discard the just-received message or the earliest non-dispatched message? On Feb 10, 2016 3:54 AM, "Gary Tully" wrote: > any chance persistent=false is set on the broker? post your full xml config > and peek at the unit test source for flow controll of memory limit tests to > get working examples > > On Thu 4 Feb 2016 4:21 AM fengcanyue <153133666@qq.com> wrote: > > > > > > > http://activemq.apache.org/message-cursors.html > > > > Here describe "buffer to disk if non-persistent pending cursor is full". > > > > My message is non-persistent. > > when i use queue, non-persistent message will buffer to temp file. > > but when i use topic ,non-persistent message will not buffer to temp > file. > > when memory limit reach,non-persistent message that sent to topic will be > > discard. > > this is not my expectation, i wish non-persistent message can buffer to > > temp > > file when topic memory limit reached . > > how can i do it? > > > > > > > > -- > > View this message in context: > > > http://activemq.2283324.n4.nabble.com/How-fileCursor-works-AMQ5-9-1-tp4706865p4706897.html > > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > > --001a113ed58ac07c08052b6ba5a9--