Soluzione # - CS325135

Does the MQTT extension support persistent sessions in ThingWorx

Modifica: 12-Mar-2024   


Si applica a

  • ThingWorx Platform 6.5 to 9.3

Descrizione

  • Does the MQTT extension support persistent sessions?
  • No cleansession parameter in the MQTT extension entities
  • MQTT extension doesn't have a clean session parameter to configure
    • When setting the Quality of service (the setting for publishing data) to 2 for MQTT connection Thing in ThingWorx to make sure all the messages accepted by the broker are delivered to ThingWorx, it still connects to the broker with the cleanSession flag set to true
    • This can result in failure to retrieve stored messages when the connection is interrupted
  • Messages sent while ThingWorx is down are not read after restart of ThingWorx
This is a PDF version of Article 325135 and may be out of date. For the latest version CS325135