Procedure
-
Double-click the cMQConnectionFactory
component to display its Basic settings
view in the Component tab.
- Configure the cMQConnectionFactory component as the one in the producer Route to connect to the same MQTT broker.
-
Double-click the cMQTT component to
display its Basic settings view in the
Component tab.
-
In the ConnectionFactory field, click
[...] and select the MQ connection
factory that you have just configured to handle messages.
Specify the same Topic Name in the consumer cMQTT component as in the producer.
-
Keep the default settings of the cLog component to
log the message exchanges.
- Press Ctrl+S to save your Route.