From users-return-25943-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Mon Nov 15 09:17:07 2010 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 9057 invoked from network); 15 Nov 2010 09:17:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Nov 2010 09:17:07 -0000 Received: (qmail 14645 invoked by uid 500); 15 Nov 2010 09:17:38 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 14330 invoked by uid 500); 15 Nov 2010 09:17:35 -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 14315 invoked by uid 99); 15 Nov 2010 09:17:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 09:17:34 +0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chubrilo@gmail.com designates 209.85.214.43 as permitted sender) Received: from [209.85.214.43] (HELO mail-bw0-f43.google.com) (209.85.214.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 09:17:26 +0000 Received: by bwz14 with SMTP id 14so5666575bwz.2 for ; Mon, 15 Nov 2010 01:17:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=LQais/5IhhSqXCd5SZRrERS6+Ej38nAYE6gR/qFySxg=; b=kkNZWQvSBi6V6zz7I00kp268abQsKwxueddcOJbEfcoY6I+x+67Bem0C0rHlvKJwFJ RZi6lXnayazb/BsDaqz8B3/gLbsrs/ELj3w+HMdYSAKWDRvlE11NAhMiDGV/stTcy9bI LTuuSxWv7sQ3LO1Wlz/+qXNiOp/OGN2uX4/VY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=Ond9HR/GK+QWkDAHMxTSFs9ZdQdJ6l61d73e2CFZmqBZwKU68mGIydPeU2Fq3DDFBG v1+NGK5NVammHJhkHO7iYC/NORjoHNd1SHCtyVpw1u/ZryfhxbIMN5bnOBKM5Kcb4iPN VXhgcp1M8VkU88wpyuywRDNx4KSIsWltyDTco= MIME-Version: 1.0 Received: by 10.204.53.142 with SMTP id m14mr5719779bkg.147.1289812626296; Mon, 15 Nov 2010 01:17:06 -0800 (PST) Sender: chubrilo@gmail.com Received: by 10.204.80.226 with HTTP; Mon, 15 Nov 2010 01:17:06 -0800 (PST) In-Reply-To: <1289601467048-3040432.post@n4.nabble.com> References: <1289601467048-3040432.post@n4.nabble.com> Date: Mon, 15 Nov 2010 10:17:06 +0100 X-Google-Sender-Auth: BIQSNgfEnH6qD47iA0wYf21gzH8 Message-ID: Subject: Re: Does ActiveMQ have the concepts of lazy writes to disk? From: Dejan Bosanac To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, you can use asynchronous sending. See http://activemq.apache.org/how-do-i-enable-asynchronous-sending.html and http://activemq.apache.org/async-sends.html for more info Cheers -- Dejan Bosanac ----------------- FuseSource - The experts in open source integration and messaging. Email: dejanb@fusesource.com Web: http://fusesource.com Twitter: =A0http://twitter.com/dejanb ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Fri, Nov 12, 2010 at 11:37 PM, devnull wrote: > > Does ActiveMQ have something between persistent and non persistent messag= es? > E.g.: messages are sent to the broker's memory and are lazily written to > disk if they start to overflow memory? > > Ideally the behavior I'm looking for is the speed of nonpersistent messag= es > but if the consumers get backed up that most of the messages are logged t= o > disk, if a crash occurs I lose whatever was in memory but the overflow on > disk gets reloaded back into ram to be processed by the consumers. > > thanks > -- > View this message in context: http://activemq.2283324.n4.nabble.com/Does-= ActiveMQ-have-the-concepts-of-lazy-writes-to-disk-tp3040432p3040432.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >