I suspect one issue with figuring out the time a message was received by a subscriber is that an efficient client will typically buffer up messages.
The page http://activemq.apache.org/activemq-message-properties.html says that JMSTimestamp is the time the message was sent, and I believe that means "sent by the producer." Given the fact that these messages are typically being sent by multi-threaded processes and that even networking delays might be an issue, I have to imagine it's only guide as to the ordering of when messages were actually sent to the broker. Have you already seen the topics on exclusive consumer and message groups? http://activemq.apache.org/how-do-i-preserve-order-of-messages.html On Tue, Mar 3, 2015 at 10:24 AM, joseph.gagnon <joseph.gag...@ll.mit.edu> wrote: > When messages are processed in ActiveMQ, is there a way to differentiate > between the time the message was sent from a publisher and the time the > message was received by a subscriber? I can only seem to find a timestamp > property of a JMS Message object, and I'm not even sure what that value > represents. > > For some background, I'm trying to see if there is a way that I could order > received messages by the time the message was sent (Source) or by when the > messages were received. > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Message-Source-time-vs-Receive-time-tp4692386.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.