You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Matt Pavlovich (Jira)" <ji...@apache.org> on 2021/02/16 20:38:00 UTC

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

     [ https://issues.apache.org/jira/browse/AMQ-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Pavlovich closed AMQ-5157.
-------------------------------

> 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
>            Assignee: Matt Pavlovich
>            Priority: Major
>              Labels: close-pending
>
> 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
(v8.3.4#803005)