Viewing the code and executing the Route

MQTT - Mediation

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Data Fabric
Talend Real-Time Big Data Platform
Talend MDM Platform
Talend Data Services Platform
Talend ESB
Talend Open Studio for ESB
task
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)
Data Governance > Third-party systems > Messaging components (Mediation) > MQTT components (Mediation)
EnrichPlatform
Talend Studio

Procedure

  1. Click the Code tab at the bottom of the design workspace to check the generated code.
    As shown above, the message flow is routed from cMQTT_1 to cLog_1.
  2. Press F6 to execute the Route. In the execution console you can see that there's no message exchange yet.
  3. Execute the producer Route. The logs of the message exchange are printed in the console.
  4. In the consumer Route, the messages are consumed and shown in the execution console.
  5. In the ActiveMQ Web Console, you can see that the topic mytopic has been created and the messages are consumed.