Quique wrote:
> 
> How can I use JMX/JMS in order to know what  is the oldest message in a
> queue and how much time is that message on the queue. Is that possible to
> implement ?
> 

Since a queue by default implements the FIFO pattern (First in, first out),
the _current_ message read by the consumer will be the oldest one (as long
as you don't use any selectors).

IIRC, the JMS header property JMSTimestamp records the date of message
creation, see:
http://download.oracle.com/javaee/1.4/tutorial/doc/JMS4.html#wp79302

HTH,
Tobias

-- 
View this message in context: 
http://activemq.2283324.n4.nabble.com/Oldest-message-in-queue-tp3007750p3010035.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to