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 78C77F940 for ; Tue, 30 Apr 2013 22:00:48 +0000 (UTC) Received: (qmail 24900 invoked by uid 500); 30 Apr 2013 22:00:48 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 24867 invoked by uid 500); 30 Apr 2013 22:00:47 -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 24856 invoked by uid 99); 30 Apr 2013 22:00:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 22:00:47 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.posta@gmail.com designates 209.85.217.171 as permitted sender) Received: from [209.85.217.171] (HELO mail-lb0-f171.google.com) (209.85.217.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 22:00:42 +0000 Received: by mail-lb0-f171.google.com with SMTP id r11so985682lbv.2 for ; Tue, 30 Apr 2013 15:00:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=NgUD+sEn8zBa7XFdGDpkhe5ZgxA5eQz4OGaggloGyxc=; b=goluoimo1+j390iF8rb92SIKK530GTZk+iIhy99HnMfsQu/4og43EY44QokZ7ezSjq ucCWzP64HiCK+YkPOEPJyXljPSiSfUIJWa2jzK5mxPrEW75mqa+uFwf0jJjAI8Ecv3F/ f8LBLvZiXMhT1rE6NIW1O/pubzb+BeVYMrekvSQCXIQIJHz+mZYLi30mbsQ+voJ6rvd1 D7IWW2a6xISAiYXJqlaQ9Gt51/O1Bk4HrxWvHxZPWFd8IBM4E+sfmIGSN/6iEWoc03GL 5qov26agpftQT1wY9eTs2/KTLPdvi33k6GlVZKUick5bpTcPp7t7SijRvqoULycXX4R4 0P1Q== MIME-Version: 1.0 X-Received: by 10.152.3.137 with SMTP id c9mr97239lac.5.1367359221708; Tue, 30 Apr 2013 15:00:21 -0700 (PDT) Received: by 10.114.96.194 with HTTP; Tue, 30 Apr 2013 15:00:21 -0700 (PDT) In-Reply-To: <1367350126790-4666478.post@n4.nabble.com> References: <1367350126790-4666478.post@n4.nabble.com> Date: Tue, 30 Apr 2013 15:00:21 -0700 Message-ID: Subject: Re: activemq.apache.org/jmx.html From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=089e01494232b0be9e04db9b2092 X-Virus-Checked: Checked by ClamAV on apache.org --089e01494232b0be9e04db9b2092 Content-Type: text/plain; charset=ISO-8859-1 I yelled it out the window and that seemed to work for me :) So the section of the wiki you're referring to is meant for a "url configuration" ActiveMQ can be bootstrapped in many different ways, standalone, in a container (karaf, tomcat, etc), or others... but if you're doing, for example, an embedded broker, you could create the broker using that url like this: BrokerFactory.createBroker("broker:(tcp://localhost:61616)?useJmx=true") Keep in mind that JMX is enabled by default, so you don't need to specify it explicitly. Though, the solution for being "completely lost" can be addressed with a reading of this lovely book: ActiveMQ in Action: http://www.amazon.com/ActiveMQ-Action-Bruce-Snyder/dp/1933988940 On Tue, Apr 30, 2013 at 12:28 PM, gerryscat wrote: > The webpage http://activemq.apache.org/jmx.html says > > For url configuration > broker:(tcp://localhost:61616)?useJmx=true > > But I have no idea what so ever what that refers to. Does it go in a file > somewhere? Which file? Should I yell it out the window? I am *completely > *lost. > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/activemq-apache-org-jmx-html-tp4666478.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --089e01494232b0be9e04db9b2092--