Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2327F103FA for ; Sun, 2 Feb 2014 23:10:31 +0000 (UTC) Received: (qmail 62855 invoked by uid 500); 2 Feb 2014 23:10:30 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 62831 invoked by uid 500); 2 Feb 2014 23:10:30 -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 62822 invoked by uid 99); 2 Feb 2014 23:10:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Feb 2014 23:10:30 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Feb 2014 23:10:24 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WA6AS-0006bP-3G for users@activemq.apache.org; Sun, 02 Feb 2014 15:09:36 -0800 Date: Sun, 2 Feb 2014 15:09:21 -0800 (PST) From: artnaseef To: users@activemq.apache.org Message-ID: <1391382561006-4677281.post@n4.nabble.com> In-Reply-To: <1391339288972-4677278.post@n4.nabble.com> References: <1390568578953-4676748.post@n4.nabble.com> <1390570286585-4676752.post@n4.nabble.com> <1390923663727-4676902.post@n4.nabble.com> <1391146856843-4677144.post@n4.nabble.com> <1391150590334-4677148.post@n4.nabble.com> <1391150720956-4677149.post@n4.nabble.com> <1391339288972-4677278.post@n4.nabble.com> Subject: Re: Current Connection Count for ActiveMQ broker MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ah, looking at the precise method of accessing the Admin View more carefully, I recommend using BrokerService.getAdminView(). As for performance, I think once per minute is fine. However, I recommend measuring as there are many variables that play in. I would try increasing the rate (i.e. decrease the delay) until performance is notably impacted, and then back off from there. From there, a great picture of the performance impact and reasonable rates is known. -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4677281.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.