Uploaded image for project: 'ActiveMQ Apollo (Retired)'
  1. ActiveMQ Apollo (Retired)
  2. APLO-353

MQTT QoS always downgraded to 0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 1.6
    • None
    • apollo-mqtt
    • Mac OS X

    Description

      When subscriber subscribes with qos=2, and publisher sends PUBLISH with qos=2, Apollo changes it to qos=0 when sends to subscriber.

      Publisher Apollo Subscriber

      <-- SUBSCRIBE with qos=2
      --> SUBACK

      PUBLISH qos=2 --> --> PUBLISH qos=0
      PUBREC <--
      PUBREL -->
      PUBCOMP <--

      This is observed in the MqttQosTest test case. The assertion:

      38 should_receive("1", topic)

      does not actually test the qos level received. However, I looked at packet capture and confirmed that in the qos/EXACTLY_ONCE/EXACTLY_ONCE case, the PUBLISH was downgraded from qos=2 to qos=0 when it goes through Apollo.

      (previously reported on mailing list on Feb 5, 2014)

      Attachments

        1. apollo-mqtt-qos2.txt
          37 kB
          Tom Smith
        2. apollo-mqtt-qos2.pcap
          2 kB
          Eric Cheung

        Activity

          People

            Unassigned Unassigned
            echeung Eric Cheung
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: