[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [mqtt-comment] MQTT 5.0 WD13 - Message retaining
The initial purpose of the retain as published flag is to allow server to server bridging where it is desirable for the original value of the retain bit to be preserved rather than the default behavior which is to set the retain bit to whether the message is sent from a retained source. This is stated in a non-normative comment. However, this function is useful for some other purposes, and so it is documented as how it works and not its intended use.
The statement in section 3.8.3.1 could perhaps be better worded to clarify that it applies to the forwarded PUBLISH packet. If the Retain As Published is 0, any forwarded message has its RETAIN flag set to 0. Regardless of the setting of Retain As Published, any message coming from a retained source has the RETAIN flag set to 1. Thus from the point of view of the client receiving the publish, if Retain As Published is 0, the RETAIN flag indicates whether or not the message came from a retained source.
Ken Borgendale -- kwb@us.ibm.com
Boris Verkhovykh ---05/30/2017 12:00:43 PM---Hello! I think I have found a discrepancy in the message retaining description:
From: Boris Verkhovykh <b_a_v@mail.ru>
To: mqtt-comment <mqtt-comment@lists.oasis-open.org>
Date: 05/30/2017 12:00 PM
Subject: [mqtt-comment] MQTT 5.0 WD13 - Message retaining
Sent by: <mqtt-comment@lists.oasis-open.org>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]