Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6575

Retained messages not persisted? (MQTT)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.14.3
    • None
    • Broker, MQTT
    • None

    Description

      Issue
      Retained message is not persisted (after restart?)

      Steps to reproduce

      1. Client c1 connects and publishes a message m1 to topic t1 with retain: true and QoS: 2. Client then disconnects.
      2. Client connect (with same clientId or different, both works) and c1 subscribes to t1. c1 recieves m1.
        However, if the broker is restarted and step 2 is re-run, the m1 is never recieved.

      Shouldn't a retained message with QoS-2 be persisted and send to clients even after restart?

      Attachments

        Activity

          People

            Unassigned Unassigned
            stefannilsson Stefan Nilsson
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: