Skip to main content

Sending messages to and receiving messages from an MQTT broker

This scenario applies only to 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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!