MQTT protocol

The MQTT protocol provides a method for loading JSON data in Informix®.

The MQTT protocol is a light-weight messaging protocol that you can use to load data from devices or sensors. For example, you can use the MQTT protocol to publish data from sensors into a time series table.

When you define the wire listener type as mqtt, you can insert JSON documents to the database by sending PUBLISH packets. The MQTT wire listener does not support querying data with SUBSCRIBE packets.

The jsonListener.jar file is the executable file that includes the wire listener configuration file, named jsonListener.properties by default, which defines the operational characteristics for theMongoDB API and the MQTT protocol.

This graphic depicts the MongoDB and MQTT clients that connect to the Informix server through the wire listener.