[ https://issues.apache.org/jira/browse/AMQ-5997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14943221#comment-14943221 ]
ASF subversion and git services commented on AMQ-5997: ------------------------------------------------------ Commit b83c38b04c3e4330e6d5f57e4c5d7f3fd62942f0 in activemq's branch refs/heads/master from [~dejanb] [ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=b83c38b ] https://issues.apache.org/jira/browse/AMQ-5997 - support legacy clients > MQTT legacy client support > -------------------------- > > Key: AMQ-5997 > URL: https://issues.apache.org/jira/browse/AMQ-5997 > Project: ActiveMQ > Issue Type: Improvement > Affects Versions: 5.12.0 > Reporter: Dejan Bosanac > Assignee: Dejan Bosanac > Fix For: 5.13.0 > > > MQTT 3.1.1 spec defines that UNSUBSCRIBE packet needs to define AT_LEAST_ONCE > (01) for fixed header QoS bits. But older clients might set those to some > different value, like AT_MOST_ONCE. At the moment, the mqtt-client lib will > try to have this case differently and we'll get > {code}ProtocolException: Invalid message encoding{code} > error. > The solution is to make mqtt client parse these other values regularly and > introduce the necessary checks for 3.1.1 spec version in the broker. -- This message was sent by Atlassian JIRA (v6.3.4#6332)