Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 46748 invoked from network); 15 Oct 2009 15:46:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Oct 2009 15:46:40 -0000 Received: (qmail 49014 invoked by uid 500); 15 Oct 2009 15:46:39 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 48992 invoked by uid 500); 15 Oct 2009 15:46:39 -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 48982 invoked by uid 99); 15 Oct 2009 15:46:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 15:46:39 +0000 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 (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; Thu, 15 Oct 2009 15:46:30 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MySWn-0002pj-MM for users@activemq.apache.org; Thu, 15 Oct 2009 08:46:09 -0700 Message-ID: <25911014.post@talk.nabble.com> Date: Thu, 15 Oct 2009 08:46:09 -0700 (PDT) From: Joe Fernandez To: users@activemq.apache.org Subject: Re: How to preserve statisitcs after restart server In-Reply-To: <25909976.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: joe.fernandez@ttmsolutions.com References: <25909976.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org AFAIK, AMQ does not persist statistics out to secondary storage. You could write your own plugin that taps the MBeans for the info and writes it out to a db. Or write a Monlet using this http://www.ttmsolutions.com/Transactional_Software_Solutions/Active_Monitor_AMon.php monitoring tool . The default values for enableStatistics and deleteAllMessagesOnStartup are true and false, respectively. Joe http://www.ttmsolutions.com NabiL wrote: > > Hi all, > > I tested ActiveMQ 5.3 and it works fine !! > > Questions: > > 1- I want to preserve statistics after restart server. I have entered > these broker parameters > enableStatistics="true" and deleteAllMessagesOnStartup="false". When i > restart AMQ server, as a result the statistics are not preserved (Messages > Enqueued, Messages Dequeued ...) > > Any help will be appreciated. > > Thanks in advance. > NabiLo > > > -- View this message in context: http://www.nabble.com/How-to-preserve-statisitcs-after-restart-server-tp25909976p25911014.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.