|Re: [paho-dev] Outgoing message queue|
a quick answer to your main question. There is no current way to
get detailed access to the outboundMsgs list. However, all those
messages are stored via the persistence interface, so you could
hook into that to get the information you need. A simple
persistence mechanism is supplied so you could use that as a base.
If you use the "reliable" setting, then only the last single message is stored, and that is only for QoS 1 or 2 while the relevant MQTT packet exchange completes.
These considerations only apply assuming you are using QoS > 0
and cleansession=False, because otherwise on a network break there
will be no state to continue with on reconnect.
On 17/01/2018 10:07, Denis Barbuse wrote:
-- Ian Craggs icraggs@xxxxxxxxxx IBM United Kingdom Paho Project Lead; Committer on Mosquitto
Back to the top