Return-Path: Delivered-To: apmail-qpid-users-archive@www.apache.org Received: (qmail 47851 invoked from network); 1 Dec 2010 18:27:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Dec 2010 18:27:19 -0000 Received: (qmail 52511 invoked by uid 500); 1 Dec 2010 18:27:19 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 52396 invoked by uid 500); 1 Dec 2010 18:27:18 -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 52388 invoked by uid 99); 1 Dec 2010 18:27:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 18:27:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of glahiru@gmail.com designates 209.85.215.42 as permitted sender) Received: from [209.85.215.42] (HELO mail-ew0-f42.google.com) (209.85.215.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 18:27:11 +0000 Received: by ewy1 with SMTP id 1so5421770ewy.15 for ; Wed, 01 Dec 2010 10:26:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=FWBdSA+qBSt2onNC/LkEi6QPbra7Xg6ZoUiuOT21dxQ=; b=H8qv+KaCCjg6VbGTjgbX1VY8RWOA7OJdsc7tpT71B/KrNwcyFxGKKtl2SPC21F8tzX i4AEG2uTO9FnvU6neq263LSIfgwkODnbrpenLOo/+qrrwChvsiOCvwr+XDXPv6lYHnjm nfYAZNBDIS9gGAURYWvk2ictiwYLCG/I5KVhQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=aruUxhTfgeecSOoE/E4mUk6VUpw5/dtygfmsvAByLV7rbDLW5BZv8v6F1Mb8ly78St u9UsVJ9pKNScvXpmQaSpRDCdHWtguIJCtsHJKDLes3R9mg+LzvbVRisVwwJlNyb0HZYT tv9rcH6CoojUxjKw9MS+HqyhHoxZPEPE66gGI= MIME-Version: 1.0 Received: by 10.216.59.193 with SMTP id s43mr2395836wec.42.1291228010111; Wed, 01 Dec 2010 10:26:50 -0800 (PST) Received: by 10.216.71.149 with HTTP; Wed, 1 Dec 2010 10:26:50 -0800 (PST) In-Reply-To: <593B7AD1F05347D1B126377910675F8B@hope> References: <593B7AD1F05347D1B126377910675F8B@hope> Date: Wed, 1 Dec 2010 23:56:50 +0530 Message-ID: Subject: Re: Qpid C++ broker message persistency From: Lahiru Gunathilake To: users@qpid.apache.org Content-Type: multipart/alternative; boundary=000e0ce0d740dde1ea04965d72e0 X-Virus-Checked: Checked by ClamAV on apache.org --000e0ce0d740dde1ea04965d72e0 Content-Type: text/plain; charset=ISO-8859-1 HI Steve, No, i didn't I simply started consumers and queues got created ? Should I define queues durable to get this behavior of persistent ? Regards Lahiru On Wed, Dec 1, 2010 at 11:49 PM, Steve Huston wrote: > Hi Lahiru, > > Are you declaring the queues "durable"? > > -- > Steve Huston, Riverace Corporation > Total Lifecycle Support for Your Networked Applications > http://www.riverace.com > > > > -----Original Message----- > > From: Lahiru Gunathilake [mailto:glahiru@gmail.com] > > Sent: Wednesday, December 01, 2010 12:48 PM > > To: users@qpid.apache.org > > Subject: Qpid C++ broker message persistency > > > > > > Hi all, > > > > I have started Qpid C++ broker with following configuration > > in qpidd.conf file > > > > auth=no > > default-queue-limit=0 > > staging-threshold=1000000 > > data-dir=/home/lahiru/client/qpidc-0.8/build/persistent > > max-session-rate=0 > > enable-qmf2=yes > > worker-threads=4 > > > > You can see that I have specified a data-dir for persistence, > > and after let the broker run with around 10 queues and I > > stoped the broker and try to restart and I do not see any of > > the queues's or messages which was there before I shutdown > > the broker ? > > > > Can someone please advice, If I want to get the behaviour of > > persistence if Qpid instance shutdown, how should I configure > > C++ broker ? > > Ex: in the above case when I shutdown the broker if there > > were 100 message in Queue A, when I start it again can I have > > the same state of the broker ? > > > > Thanks in advance > > > > Lahiru > > > > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:users-subscribe@qpid.apache.org > > --000e0ce0d740dde1ea04965d72e0--