Figured out what the problem was. The producer sending messages had it's clock ahead by ten minutes compared to the VM where the broker was running.
As soon as I set the expiry to more than 15 minutes the problem was solved. -- View this message in context: http://activemq.2283324.n4.nabble.com/Cannot-browse-or-consume-messages-with-ttl-setting-from-a-Queue-tp3411305p3442992.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.