You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Christian Posta <ch...@gmail.com> on 2013/05/01 00:00:21 UTC

Re: activemq.apache.org/jmx.html

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 <ge...@gmail.com> 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