Re: Enabling JMX in code snippet

2011-12-12 Thread phil swenson
tions Consultant > FuseSource > Web: fusesource.com > Skype/Twitter: mjabali > Blog: http://marcelojabali.blogspot.com > > > > > On Dec 12, 2011, at 8:14 AM, phil swenson wrote: > > I am just getting started with activemq. I was trying to get it going in > code:

Enabling JMX in code snippet

2011-12-12 Thread phil swenson
I am just getting started with activemq. I was trying to get it going in code: public class Launcher { public static void main(String[] args) throws Exception{ BrokerService broker = new BrokerService(); broker.setUseJmx(true); broker.addConnector("tcp://localhost:616