Anuj Khandelwal created AMQ-5157: ------------------------------------ Summary: Non persistent Messages not getting expired Key: AMQ-5157 URL: https://issues.apache.org/jira/browse/AMQ-5157 Project: ActiveMQ Issue Type: Improvement Components: Broker Affects Versions: 5.8.0 Reporter: Anuj Khandelwal
It is coming from http://activemq.2283324.n4.nabble.com/Non-persistent-Messages-Not-getting-expired-even-after-expiration-time-exceeded-td4680428.html#a4680459 Problem: Non-persistent messages, if off lined to tmp storage (may be because of inactive durable subscriber), won’t be expired until they are scheduled for dispatch. Test scenario: Non persistent message is sent from the producer to the topic which has inactive durable subscriber, this message will be stored in non-persistent message tmp store "activemq-data/broker/tmpstorage/". This message is not getting deleted even after Expiration time is exceeded. According to discussion on ActiveMQ user forum, it will only be expired when the message is ready to dispatch. Which should not happen. Ideally broker should expire the message if expiration time exceeds irrespective of message is ready to dispatch or other things. Thanks, Anuj -- This message was sent by Atlassian JIRA (v6.2#6252)