activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-6387) Messages delivered to durable subcriber are kept in broker
Date Thu, 01 Sep 2016 20:26:20 GMT

    [ https://issues.apache.org/jira/browse/AMQ-6387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15456512#comment-15456512
] 

ASF subversion and git services commented on AMQ-6387:
------------------------------------------------------

Commit bb8d32c04aa06735d0036963685a4bc41fcbaad7 in activemq's branch refs/heads/master from
[~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=bb8d32c ]

https://issues.apache.org/jira/browse/AMQ-6387

Fix up the Memory Store such that it removes the references it adds to
messages when they are placed into the memory durable topic subscription
store.

> Messages delivered to durable subcriber are kept in broker
> ----------------------------------------------------------
>
>                 Key: AMQ-6387
>                 URL: https://issues.apache.org/jira/browse/AMQ-6387
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.13.4
>         Environment: jdk1.8.0_77
>            Reporter: Filip Nowak
>            Priority: Minor
>         Attachments: ActiveMqTest.java
>
>
> Given:
> * broker with disabled persistence
> * non-transactional sessions with {{AUTO_ACKNOWLEDGE}}
> * topic
> When: 
> * there is inactive durable subscription
> * messages are sent to that topic with {{DeliveryMode.PERSISTENT}}
> * subscription becomes active and all messages are delivered to the durable consumer
> Then:
> * messages are kept in brokers memory (visible in {{memoryPercentUsage}}, on heap etc)
> When: 
> * messages expiration time or TTL is elapsed
> Then:
> * messages are still kept in brokers memory (visible in {{memoryPercentUsage}}, on heap
etc)
> -----
> Messages are kept also when message selector of durable subscription does not match messages
sent to topic. Changing {{DeliveryMode}} to {{NON_PERSISTENT}} makes the messages not kept.

> Attached test case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message