You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Anuj Khandelwal (JIRA)" <ji...@apache.org> on 2014/04/23 15:54:14 UTC

[jira] [Created] (AMQ-5157) Non persistent Messages not getting expired

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)