ltm rule event MQTT CLIENT INGRESSΒΆ

iRule(1)						BIG-IP TMSH Manual						  iRule(1)

MQTT_CLIENT_INGRESS
       An iRule event that triggers when an MQTT message is received from client-side.

DESCRIPTION
       This iRule event triggers when an MQTT message is received from client-side.  In case an MQTT message has large payload
       such as for PUBLISH message types, this event may trigger before entire payload is received. In that case, MQTT::collect
       may be used to obtain the payload.

Examples
	when MQTT_CLIENT_INGRESS {
	    set type [MQTT::type]
	    switch $type {
	      "CONNECT" {
		  log local0.info "New connection from [MQTT::username], [MQTT::client_id]"
	      }
	    }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-13.0.0
	   --First introduced the event.

BIG-IP							    2022-04-12							  iRule(1)