MQTT LWT not sent after subsequent disconnects on same session

Solution Verified - Updated -

Issue

  • Will message is not established again, if the client reconnects.
  • MQTT v3.1.1 Section 3.1.2.5 implies that the Will details provided in the CONNECT packet should be associated with the newly established network connection, regardless of whether a session is being resumed.
  • The client should be able to update its Will message on reconnection without needing to start a new session.

Environment

  • AMQ Broker 7.13.0 (and previous)
  • MQTT v3.1.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content