Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 99804 invoked from network); 2 Aug 2008 01:36:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Aug 2008 01:36:05 -0000 Received: (qmail 95479 invoked by uid 500); 2 Aug 2008 01:36:04 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 95456 invoked by uid 500); 2 Aug 2008 01:36:04 -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 95445 invoked by uid 99); 2 Aug 2008 01:36:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 18:36:03 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Aug 2008 01:35:08 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KP61u-0001oU-6f for users@activemq.apache.org; Fri, 01 Aug 2008 18:35:34 -0700 Message-ID: <18785178.post@talk.nabble.com> Date: Fri, 1 Aug 2008 18:35:34 -0700 (PDT) From: "Tung.Nguyen" To: users@activemq.apache.org Subject: Re: Lost message queue when stoping and restarting Embedded ActiveMQ In-Reply-To: <48931CA5.5050003@maas.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: tungnq.nguyen@yahoo.com References: <18727598.post@talk.nabble.com> <18733755.post@talk.nabble.com> <18735413.post@talk.nabble.com> <48931CA5.5050003@maas.de> X-Virus-Checked: Checked by ClamAV on apache.org Yes, you are right. It works now when i send message with deliverymode=Persistent :drunk: Thanks very much, Minh Tu Duong wrote: > > i am using this persistence Adaptor and it works: > > > maxFileLength="20 mb"/> > > when you send message, you have to set > producer.setDeliveryMode(DeliveryMode.PERSISTENT); > > best regards > > ----- What's going on? -- View this message in context: http://www.nabble.com/Lost-message-queue-when-stoping-and-restarting-Embedded-ActiveMQ-tp18727598p18785178.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.