Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 12512 invoked from network); 1 Jul 2009 06:58:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jul 2009 06:58:56 -0000 Received: (qmail 78185 invoked by uid 500); 1 Jul 2009 06:59:06 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 78140 invoked by uid 500); 1 Jul 2009 06:59:06 -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 78130 invoked by uid 99); 1 Jul 2009 06:59:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 06:59:06 +0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.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; Wed, 01 Jul 2009 06:58:56 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MLtm7-0000yo-NK for users@activemq.apache.org; Tue, 30 Jun 2009 23:58:35 -0700 Message-ID: <24285099.post@talk.nabble.com> Date: Tue, 30 Jun 2009 23:58:35 -0700 (PDT) From: rosen jiang To: users@activemq.apache.org Subject: how to configure Psersistence as a FIFO style? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: rosener_722@hotmail.com X-Virus-Checked: Checked by ClamAV on apache.org hi all, i encounter a problem, i want limit the size of Store Usage, so i use: SystemUsage sy = broker.getSystemUsage(); StoreUsage su = new StoreUsage(); su.setLimit(3054432); sy.setStoreUsage(su); YES, in my case, those codes could limit Store Usage, but those codes suspend my Producer sent message. so, i want know, how to configure Psersistence as a FIFO style(Producer kept sending new messages corresponding to first one message deleted)? best, rosen jiang -- View this message in context: http://www.nabble.com/how-to-configure-Psersistence-as-a-FIFO-style--tp24285099p24285099.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.