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

Assen Sharlandjiev updated ARTEMIS-2476:
----------------------------------------
    Description: 
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 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.

 

  was:
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 a mqtt-test project that demonstrated the problem. 

 


> 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
>         Environment: [mqtt-test|[https://github.com/assens/mqtt-test]]
>            Reporter: Assen Sharlandjiev
>            Priority: Major
>
> 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 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.2#803003)

Reply via email to