Stefan Nilsson created AMQ-6575:
-----------------------------------

             Summary: Retained messages not persisted? (MQTT)
                 Key: AMQ-6575
                 URL: https://issues.apache.org/jira/browse/AMQ-6575
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker, MQTT
    Affects Versions: 5.14.3
            Reporter: Stefan Nilsson


*Configuration*
Two Linux machines sharing an NFS-export, configured as MasterSlave 
configuration with *kahaDB* persistence.

*Scenario*
1. Connecting to an *mqtt+ws* endpoint and publishing a message to topic: *foo* 
with retain: *true* and QoS: *2*.
2. Stopping the Master-node (activemq stop) and seeing the previously Slave 
takes over.
3. Connecting to the  new Master-node (previously Slave) and subscribing to the 
topic I sent a retained message to. But no message delivered.

Seems like the retain message is not persisted? Shouldn't this be the case?

Also ran a test when publishing a retain message, waiting for more than 5 
minutes and then "fail-over" - no difference.



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

Reply via email to