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

MQTT Subscriber with QoS.EXACTLY_ONCE receives messages even after unsubscribing from topic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.9.0
    • 5.10.0
    • MQTT
    • Patch Available

    Description

      How to reproduce:
      1. client c1 ( clientid1) connects, subscribes to topic A with QoS.EXACTLY_ONCE , unsubscribes topic A and disconnects.

      2. client c2 ( clientid2) publishes to topic A with QoS.EXACTLY_ONCE.

      3. client c1 ( clientid1) connects back again.

      Expectation : client c1 shouldn't receive any messages as it has already unsubscribed

      Attached test method to reproduce this issue

      Attachments

        1. MQTTTest.patch
          2 kB
          Netlancer
        2. AMQ-5127-FixWithTest.patch
          6 kB
          Netlancer
        3. AMQ-5127.patch
          5 kB
          Netlancer

        Activity

          People

            Unassigned Unassigned
            netlancermobi Netlancer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: