I figured it out. I was making it to complicated. I was able to get all
JMSTimestamps from a given queue using the following groovy code:
queue = new
GroovyMBean(server,"org.apache.activemq:BrokerName=$host,Type=Queue,Destination=$queueName")
queue.browseAsTable().entrySet().each {
CompositeData compositeData = it.value;
println "key= ${it.key} Timestamp=${compositeData['JMSTimestamp']}"
}
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Howto-read-JMSTimestamp-using-JMX-tp3594795p3594975.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.