[ https://issues.apache.org/activemq/browse/AMQ-936?page=all ]
Fritz Oconer resolved AMQ-936. ------------------------------ Fix Version/s: 4.1 Resolution: Cannot Reproduce Added a unit test "JmsSendReceiveWithMessageExpirationTest" in trunk source under activemq-core module that would test consuming of expired messages. You may also try the examples in the distribution by modifying the timeToLive property in build.xml. > Expired Messages being delivered > -------------------------------- > > Key: AMQ-936 > URL: https://issues.apache.org/activemq/browse/AMQ-936 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 4.0.1, 4.0.2 > Environment: Win XP. ActiveMQ 4.0.1 > Reporter: Patrick Hourigan > Assigned To: Fritz Oconer > Fix For: 4.1 > > > I have a sample app that sends a message to a queue, that has > producer.setTimeToLive(5000); > I take this to mean that any message sent via this producer will expire after > 5 seconds > When I attach a consumer and try to consume after ay 10 seconds the messages > are delivered. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira