Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 30299 invoked from network); 24 Apr 2007 01:15:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Apr 2007 01:15:44 -0000 Received: (qmail 35188 invoked by uid 500); 24 Apr 2007 01:15:50 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 35162 invoked by uid 500); 24 Apr 2007 01:15:50 -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 35153 invoked by uid 99); 24 Apr 2007 01:15:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 18:15:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 18:15:42 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1Hg9cn-0004oY-Ll for users@activemq.apache.org; Mon, 23 Apr 2007 18:15:21 -0700 Message-ID: <10152731.post@talk.nabble.com> Date: Mon, 23 Apr 2007 18:15:21 -0700 (PDT) From: "tommy.li" To: users@activemq.apache.org Subject: Re: The problem in ActiveMQ CPP 2.0 Released In-Reply-To: <462B7AAB.50000@twcny.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: tommyligj@gmail.com References: <10126042.post@talk.nabble.com> <462B7AAB.50000@twcny.rr.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks. Timothy Bish wrote: > > tommy.li wrote: >> producer->setDeliveryMode( DeliveryMode::PERSISTENT ); >> When i restart broker,the mesages are lost. >> >> producer->setDeliveryMode( DeliveryMode::NON_PERSISTENT ); >> When i restart broker,the mesages are recovered. >> >> Why? >> >> >> > Yup, think you may be on to something there, code looks to be backwards, > probably want to write a Jira issues on this one. > > -- View this message in context: http://www.nabble.com/The-problem-in-ActiveMQ-CPP-2.0-Released-tf3626404s2354.html#a10152731 Sent from the ActiveMQ - User mailing list archive at Nabble.com.