java - ActiveMQ negative AverageEnqueueTime -


i'm facing strange issue on network of brokers, amq 5.8.0. checking times on jconsole can see negative averageenqueuetime values. same applies querying such values in programmatic way using following 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();  

using 1 broker, in same enviornment, can see right values (positive , meaningful).

any idea this?

thank much

best

cghersi


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -