Skip to main content

Protocol

These pages define the rules that every command and event follows. The operation pages under Management, Control, and Events assume them.

One Exchange, End to End​

StageWhat happensSpecified on
AddressYour application builds the reader's command and response topics from the endpoint's configuration.Topics and Channels
SubscribeYour application subscribes to the response topic, and to the event topic if the command finishes asynchronously.Delivery and Retry Semantics
PublishYour application publishes a command envelope at QoS 1. The broker's PUBACK means only that the broker received it.Message Envelopes and Correlation, Delivery and Retry Semantics
ReplyThe reader publishes one response with your requestId. Most commands finish with this reply; three acknowledge with code 1 and finish later.Message Envelopes and Correlation
OutcomeYour application reads response.code, or waits for the event that reports the outcome.Response Codes

Choose a Page​

If you need to…Read
Connect the reader to your broker, and understand its sessionConnection and Session
Encrypt the connection, and authenticate the reader and your applicationTLS and Authentication
Build a topic, or find which topic carries which trafficTopics and Channels
Look up the topic slots of each endpoint typeEndpoints and Topic Slots
Build a command, recognize an event, and pair a reply with its requestMessage Envelopes and Correlation
Handle lost and duplicate messages, retained messages, and the Last WillDelivery and Retry Semantics

In This Section​

Was this helpful?