ActiveMQ, timestamp for broker receiving the message to send

Posted by StaxMan on Stack Overflow See other posts from Stack Overflow or by StaxMan
Published on 2010-05-17T22:20:33Z Indexed on 2010/05/18 8:50 UTC
Read the original article Hit count: 866

Filed under:
|
|

Ok, as per ActiveMQ docs, it appears that Message.getJMSTimestamp() returns time that client claims it sent the message (with its local clock). And that there is supposedly property "JMSActiveMQBrokerInTime" that is added to Message (see http://activemq.apache.org/activemq-message-properties.html). However, trying to access it on an ActiveMQ 4.1.2 installation gives an error.

Does anyone know if this is something that was only added in 5.0 or later? Or is there some other explanation as to where it might have disappeared? Message.getPropertyNames() returns empty enumeration, which could indicate that nothing gets through.

© Stack Overflow or respective owner

Related posts about jms

Related posts about activemq