You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by cghersi <cr...@abodata.com> on 2013/07/25 11:41:50 UTC

Re: Average ActiveMQ Enqueue Time is displayed as negative value in the jconsole

Hi, I'm having the same problem with a network of broker.
All the servers are synchronized via NTP using time.nist.gov

The same applies laso if a query this time programmatically using this code:

String jmxUrl = "service:jmx:rmi:///jndi/rmi://" + myBrokerUri +
":1098/jmxrmi";
JMXServiceURL url = new JMXServiceURL(jmxUrl);
JMXConnector connector = JMXConnectorFactory.connect(url, null);
connector.connect();
MBeanServerConnection connection = connector.getMBeanServerConnection();
TopicViewMBean topicMbean = (TopicViewMBean)
MBeanServerInvocationHandler.newProxyInstance(connection, 
								myTopicName, TopicViewMBean.class, true);
topicMbean.getAverageEnqueueTime();

Any hint about this?

Thank you very much

Best

cghersi



--
View this message in context: http://activemq.2283324.n4.nabble.com/Average-ActiveMQ-Enqueue-Time-is-displayed-as-negative-value-in-the-jconsole-tp4659181p4669699.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.