-
1. Re: Connect to BrokerViewMBean via jmx
jbertram May 24, 2017 11:47 AM (in response to aragoubi)Are you talking about ActiveMQ 5.x or ActiveMQ Artemis?
Also, it looks like you're connecting to JBoss Remoting rather than your ActiveMQ broker. What exactly is supposed to be listening on port 9999?
-
-
3. Re: Connect to BrokerViewMBean via jmx
aragoubi May 29, 2017 5:43 AM (in response to jbertram)Yes I am using jconsole, but my purpose is to monitor broker from eclipse code.
My broker is local, and I want to add physical topics to it.I am trying to follow the first example of this link http://www.programcreek.com/java-api-examples/index.php?api=org.apache.activemq.broker.jmx.QueueViewMBean.
I am puting this JMXServiceURL: service:jmx:remoting-jmx://127.0.0.1:9999.
I am getting java.net.MalformedURLException: Unsupported protocol: remoting-jmx.
I found here https://developer.jboss.org/thread/200635 that I should add <module name="org.jboss.remoting3.remoting-jmx" services="import"/>.
I am using jboss-as-7.1.0.Final, and I don't know how to add this or jboss-client to my configuration.
Could you help me with this ? -
4. Re: Connect to BrokerViewMBean via jmx
aragoubi May 29, 2017 8:19 AM (in response to aragoubi)I resolved my problem Justin, Thanks.