You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Gangadhar Rao <ga...@netcracker.com> on 2012/11/12 12:32:23 UTC

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

Average ActiveMQ Enqueue Time is displayed as negative value in the jconsole.
<http://activemq.2283324.n4.nabble.com/file/n4659181/activemq_enqueuetime.jpg> 

Ideally it should be displayed as a positive value. Do not know why it is
being shown as a negative value.

Any thoughts???? 



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

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

Posted by cghersi <cr...@abodata.com>.
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.

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

Posted by Christian Posta <ch...@gmail.com>.
Are you using a network of brokers?
Any inconsistencies among the system times of your servers?




On Mon, Nov 12, 2012 at 4:32 AM, Gangadhar Rao <gangadhar.rao@netcracker.com
> wrote:

> Average ActiveMQ Enqueue Time is displayed as negative value in the
> jconsole.
> <
> http://activemq.2283324.n4.nabble.com/file/n4659181/activemq_enqueuetime.jpg
> >
>
> Ideally it should be displayed as a positive value. Do not know why it is
> being shown as a negative value.
>
> Any thoughts????
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Average-ActiveMQ-Enqueue-Time-is-displayed-as-negative-value-in-the-jconsole-tp4659181.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta