Hi,

Hmm - which version of ActiveMQ are you using? The message should have expired and should not be consumed after the timetolive has elapsed. You can try looking on some of the test cases and see if you can reproduce the issue:
ie. 
https://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsSendReceiveWithMessageExpirationTest.java

btw, I tested this using trunk and appears to work ok :)


Regards,
Jonas


Christopher_Ong wrote:
I set the timetolive for a message as 1s and y after that period, the msg
still remain there? Shouldn't be it wil automatically been deleted or send
to dead msg queue?

Reply via email to