OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

mqtt message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Commented: (MQTT-58) How many messages are received for overlapping subscriptions?


    [ http://tools.oasis-open.org/issues/browse/MQTT-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34224#action_34224 ] 

Nick O'Leary commented on MQTT-58:
----------------------------------

I disagree about RSMB.

Just ran this test:
  --> SUBSCRIBE,        TOPIC:a/b/c, Requested QoS:0
  --> SUBSCRIBE,        TOPIC:a/b/+, Requested QoS:1
  --> SUBSCRIBE,        TOPIC:#, Requested QoS:2

  --> PUBLISH sent,     TOPIC:a/b/c, QoS:2, Retained:false

 --> PUBLISH received, TOPIC:a/b/c, QoS:2, Retained:false

The fact I received the message a QoS 2 means the qos 2 subscription 'matched' - which was # - the least specific of all.

If we can fully define 'most specific' without tying ourselves in knots with the language, then I could be persuaded. So far I have not been able to get the language right once you stray off the 'simple' cases.


> How many messages are received for overlapping subscriptions?
> -------------------------------------------------------------
>
>                 Key: MQTT-58
>                 URL: http://tools.oasis-open.org/issues/browse/MQTT-58
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: Improvement
>          Components: core
>            Reporter: Allan Stockdill-Mander 
>
> A client has subscribed to a/+ with QoS2 and a/b with QoS1. A message is published to a/b. Does the client receive one or two messages? If one which QoS would apply?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]