activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Cheung (JIRA)" <>
Subject [jira] [Created] (APLO-353) MQTT QoS always downgraded to 0
Date Wed, 12 Mar 2014 15:05:44 GMT
Eric Cheung created APLO-353:

             Summary: MQTT QoS always downgraded to 0
                 Key: APLO-353
             Project: ActiveMQ Apollo
          Issue Type: Bug
          Components: apollo-mqtt
    Affects Versions: 1.6
         Environment: Mac OS X
            Reporter: Eric Cheung

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)

This message was sent by Atlassian JIRA

View raw message