Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 21785 invoked from network); 14 Dec 2007 19:03:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2007 19:03:21 -0000 Received: (qmail 6754 invoked by uid 500); 14 Dec 2007 19:03:10 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 6732 invoked by uid 500); 14 Dec 2007 19:03:10 -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 6723 invoked by uid 99); 14 Dec 2007 19:03:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2007 11:03:10 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chirino@gmail.com designates 209.85.198.187 as permitted sender) Received: from [209.85.198.187] (HELO rv-out-0910.google.com) (209.85.198.187) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2007 19:02:46 +0000 Received: by rv-out-0910.google.com with SMTP id l15so894972rvb.26 for ; Fri, 14 Dec 2007 11:02:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=6+GM8hJYJTeN2Jjk79+h8DK/NV5d00aNR0DKSjwaHF8=; b=QleFHLbb/7VkT5jDgAszgNbFSkuYDbATWcbRpEDxZdRUVaVcmTMLjwm7UYnjJit838Xmcgtfk1ctiA0iN4EocrteB1lj6iaXZreX/Md+qEqeldl8dqnrTmD0RbBhBcJhF+uvl3ad75CiSr28LPZb1T3QABzzHIdXtgfKr12ZT/4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=YrhRD/0OF38/lfLAmVpYdbtGrSBj+oRmV5NQ1q7NiblP6CEvIYdIkJckuA0IIkibFGWIVpgNM7S8pPEwgDJjg65jVeEdXboZVQ/Nnws79Sy6ySaKZNqco6iFGAC1l3x3Cbo9UxAojZB9mVKaDa5ItdtKifeEiFbqxj2l0GJbMis= Received: by 10.141.22.1 with SMTP id z1mr2103441rvi.277.1197658970038; Fri, 14 Dec 2007 11:02:50 -0800 (PST) Received: by 10.140.141.1 with HTTP; Fri, 14 Dec 2007 11:02:50 -0800 (PST) Message-ID: Date: Fri, 14 Dec 2007 14:02:50 -0500 From: "Hiram Chirino" Sender: chirino@gmail.com To: users@activemq.apache.org Subject: Re: High availability and persistency In-Reply-To: <14249961.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <14249961.post@talk.nabble.com> X-Google-Sender-Auth: 0e78147fc5c7fb6f X-Virus-Checked: Checked by ClamAV on apache.org The broker will create the log files and periodically checkpoint status to them even if no messages are being written to them. Furthermore, sending non-persistent messages to an HA broker does not make much sense because the only messages that are HA, and get recovered on failure, are the persistent messages. For what you are doing you might as well just run 2 brokers that are NOT in HA configuration, use normal network connections between them and configure the clients to failover between them. The client will not notice the broker failure, you will get load balancing between the 2 brokers. and you still get the same QoS on the messages which is you might loose a few messages when a broker dies. On Dec 10, 2007 4:47 AM, hagai wrote: > > That's exactly what I tried to do. I mark all the messages as non persistent > using messageProducer.setDeliveryMode(DeliveryMode.NON_PERSISTENT) > but it seems that the broker does use persistency on these messages because > the log files are updated. > Am I missing something? > > Hagai. > > > -- > View this message in context: http://www.nabble.com/High-availability-and-persistency-tp14240560s2354p14249961.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- Regards, Hiram Blog: http://hiramchirino.com Open Source SOA http://open.iona.com