Sending messages to and receiving messages from an MQTT broker - 7.3

MQTT (Mediation)

Version
7.3
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > Messaging components (Mediation) > MQTT components (Mediation)
Data Quality and Preparation > Third-party systems > Messaging components (Mediation) > MQTT components (Mediation)
Design and Development > Third-party systems > Messaging components (Mediation) > MQTT components (Mediation)
Last publication date
2024-01-17

This scenario applies only to Talend Open Studio for ESB, Talend ESB, Talend Data Services Platform, Talend MDM Platform, Talend Real Time Big Data Platform, and Talend Data Fabric.

For more technologies supported by Talend, see Talend Mediation Components.

This scenario will show you how to use the cMQTT component to send messages to and consume messages from an MQTT broker. To do this, two Routes are built, a message producer Route, and a consumer Route. Messages are sent to the MQTT broker in the producer Route and then consumed in the consumer Route.

In this use case, Apache ActiveMQ is used as the message broker which supports the MQTT protocol. You need to launch the ActiveMQ server before executing the Route. For more information about installing and launching ActiveMQ server, see the site http://activemq.apache.org/index.html.