Process Flow - Last Will and Testament (LWT)
Client Connects to Broker
Client Sets LWT Message
Client Publishes LWT on Unexpected Disconnect
Broker Sends LWT to Subscribers
Subscribers Receive LWT Message
End
This flow shows how a client sets a Last Will message when connecting, which the broker sends to subscribers if the client disconnects unexpectedly.