You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Michael Andre Pearce (Jira)" <ji...@apache.org> on 2020/03/07 22:10:00 UTC

[jira] [Resolved] (ARTEMIS-2476) New MQTT subscriptions receive older (not last published) retained message.

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

Michael Andre Pearce resolved ARTEMIS-2476.
-------------------------------------------
    Fix Version/s: 2.12.0
       Resolution: Fixed

> New MQTT subscriptions receive older (not last published) retained message.
> ---------------------------------------------------------------------------
>
>                 Key: ARTEMIS-2476
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2476
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: MQTT
>    Affects Versions: 2.10.0, 2.10.1
>            Reporter: Assen Sharlandjiev
>            Priority: Blocker
>             Fix For: 2.12.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> I have observed that new MQTT subscriptions on a given topic, receive older retained messages. Instead of getting the latest retained message published on the topic, the new subscription received an older message, published before that last one. 
>  
> I have created a [mqtt-test|https://github.com/assens/mqtt-test] project that demonstrated the problem.  Check the readme, and run the Artemis broker test:
>  
> mvn -Dtest=ArtemisTest verify
>  
>  The test project contains multiple MQTT brokers tests. Only Artemis broker tests fail.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)