Thank you for your response. The messages are indeed purged when I reconnect my customer, however I observed the same behaviour testing one that doesn't set any TTL. When trying the mechanism "in action" with 10 000 messages and their TTL = 500 ms (and consumer connected all the time), all of them get dequeued and delivered to the consumer, despite clearly being pending for more than only 0,5 s. Am I missing something? Maybe there're some files other than activemq.xml that I should take a look at?
-- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Messages-are-not-discarded-from-queue-when-they-re-expired-tp4728731p4728760.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
