Mqtt Context

Send received data from 3rd party MQTT brokers

  • Handle custom MQTT brokers through rules engine

  • Context Variable: mqtt

  • Only applicable to MQTT Input Service

API Interface

//publish a message
void publish(String topic, Map<?,?> json, int qos) ;

//publish a message
void publish(String topic, String payload, int qos, boolean retained);

//publish a message
void publish(String topic, Map<?,?> json, int qos, boolean retained);

//publish a message
IMqttDeliveryToken publish(String topic, byte[] payload, int qos, boolean retained);

//publish a message
void publish(String topic, String payload, int qos);

//publish a message
void publish(String topic, String payload);

//publish a message
void publish(String topic, Map<?,?> json);

//publish a message
void publish(String topic, byte[] payload, int qos);

//publish a message
void publish(String topic, byte[] payload);

Inherited Context APIs

Context Base

See Also

MQTT Input