Wire listener
The wire listener is a mid-tier gateway server that enables communication between MongoDB, REST API, and MQTT clients and the Informix® database server.
The wire listener is a Java™ application and is provided as an executable JAR file, $INFORMIXDIR/bin/jsonListener.jar, that is included with the database server. The JAR file provides access to the MongoDB API, the REST API, and the MQTT protocol.
- MongoDB API access
- You can connect to a JSON collection with the MongoDB API by using the MongoDB Wire Protocol.
- REST API access
- You can connect to a JSON collection by using the REST API.
- MQTT protocol access
- You can connect to a JSON collection by using the MQTT protocol.
The wire listener connection properties file, named jsonListener.properties by default, defines every operational characteristic.
When you create a database or a table through the wire listener, automatic location and fragmentation are enabled. Databases are stored in the dbspace that is chosen by the server. Tables are fragmented among dbspaces that are chosen by the server. More fragments are added when tables grow.
The default logging mechanism for the wire listener is Logback. Logback is pre-configured and installed along with the JSON components.