-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5
-
Component/s: candidateCN, ReqRespMEP
-
Labels:None
-
Proposal:
This JIRA requests that the version of the MQTT protocol after 3.1.1 be augmented to support the request/reply message exchange pattern. Minimally what is required is the ability to (optionally) carry a "reply-to" topic in a published "request" message that would allow the receiver to publish a "reply" message addressed to the contained reply-to topic.
Hopefully the need to support request/reply is not in dispute as it is a very common message exchange pattern supported by HTTP, JMS and all major messaging products because of its usefulness and for which there are many applications in M2M use cases.
The only way now with MQTT3.1.1 (that I am aware of) to return a reply to the sender of a request message is for the requester and replier to coordinate on the reply-to address outside of any specific services provided by MQTT. For example, by embedding the reply-to address in the payload of the message. The main functional reason this is insufficient is that it does not allow protocol interworking functions(MQTT to some other messaging protocol) that are not (and should not be) aware of application payloads to create an end-to-end request/reply flow.
Therefore I would like to request that the TC consider and implement the protocol changes required to support this functionality.