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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.9.0
    • Fix Version/s: 5.10.0
    • Component/s: MQTT
    • Labels:
    • Patch Info:
      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. AMQ-5127.patch
          5 kB
          Netlancer
        2. AMQ-5127-FixWithTest.patch
          6 kB
          Netlancer
        3. MQTTTest.patch
          2 kB
          Netlancer

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              netlancermobi Netlancer

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment