activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynald Borer <>
Subject Re: ActiveMQ time in queue
Date Sun, 06 Mar 2011 13:45:16 GMT
Hi Ron,

If you want to see how long a message stayed in the broker, you can compute this value by
yourself. On each message processed by ActiveMQ, you can find two properties:
- brokerInTime: the time when the message arrived in the broker
- brokerOutTime: the time the message left the broker

By deducing the first one from the second, you can find the time the message stayed in the

See the javadoc of the "Message" class for more details:

Best regards,

P.S: special message for the ActiveMQ team: the javadoc link on the homepage is still referencing
the 5.3.1 version, not the latest one.

On Sunday, March 6, 2011 at 14:37 , ronsho wrote: 
> Hello,
> I was wondering if there is a way to retrieve the time in queue of a
> message.
> Thanks,
> Ron.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message