ltm rule event MQTT CLIENT SHUTDOWN
iRule(1) BIG-IP TMSH Manual iRule(1)
MQTT_CLIENT_SHUTDOWN
An iRule event that triggers when MQTT client closes TCP connection.
DESCRIPTION
This iRule event triggers when MQTT client closes TCP connection.
NOTE: This event is implemented only for Message Routing based MQTT Sessions
NOTE: There is no MQTT message associated with this event. Any iRule command that requires a current MQTT
message will not work in this event's context.
NOTE: This event will not trigger in case of abnormal termination of a client connection.
Following MQTT command(s) will work:
MQTT::insert after
Examples
when MQTT_CLIENT_SHUTDOWN {
MQTT::insert after type PUBLISH topic "event/client_disconnected" payload "client disconnected"
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-14.0.0
--First introduced the event.
BIG-IP 2020-06-23 iRule(1)