activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "praveen.sharma" <praveen.sha...@ll.mit.edu>
Subject Is property JMSActiveMQBrokerInTime really correct in Activemq trunk from svn checkout
Date Tue, 17 Nov 2009 16:18:11 GMT

Couple of questions:

For jmsMessage
(1) What is the relation between jmsTimeStamp, and properties:
JMSActiveMQBrokerInTime, and JMSActiveMQBrokerOutTime?

(2) Which one  is more accurate jmsTimeStamp, and properties:
JMSActiveMQBrokerInTime?  Reason for asking this question is that I have
messages in the queue (seen from jconsole) that are not delivered, and yet
JMSActiveMQBrokerInTime = JMSActiveMQBrokerOutTime.  However, jmsTimeStamp
gives a different value.

I extracted these values as
 JmsMessage msg = (JmsMessage) exch.getIn();
msg.getJmsMessage().getJMSTimestamp()
 msg.getJmsMessage().getLongProperty("JMSActiveMQBrokerInTime");
msg.getJmsMessage().getLongProperty("JMSActiveMQBrokerOutTime");


Sample output: 
jmsExpiration: 1258474190831 jmsTimeStamp: 1258474189831 jmsPriority: 7
jmsDeliveryMode: 2 jmsMsgID: ID:padua-44786-1258474186761-0:26:1:1:1
defaultPriority: 4 defaultTTL: 0 defaultDeliveryMode: 2...........100000
Latency0.020777777777777777 Jitter 0.010979222222222224 BrokerInTime
1258474189832 BrokerOutTime 1258474189832 jmsBrokerQueueLatency 0
...........100000
 jmsExpiration: 1258474190942 jmsTimeStamp: 1258474189942 jmsPriority: 7
jmsDeliveryMode: 2 jmsMsgID: ID:padua-44786-1258474186761-0:27:1:1:1
defaultPriority: 4 defaultTTL: 0 defaultDeliveryMode: 2...........100000
Latency0.020392857142857143 Jitter 0.009979607142857142 BrokerInTime
1258474189943 BrokerOutTime 1258474189943 jmsBrokerQueueLatency 0

-- 
View this message in context: http://old.nabble.com/Is-property-JMSActiveMQBrokerInTime-really-correct-in-Activemq-trunk-from-svn-checkout-tp26392757p26392757.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message