Procedure
-
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
tocLog_1
. -
Press F6 to execute the Route. In the execution console
you can see that there's no message exchange yet.
-
Execute the producer Route. The logs of the message exchange are printed
in the console.
-
In the consumer Route, the messages are consumed and shown in the execution
console.
-
In the ActiveMQ Web Console, you can see that the topic
mytopic has been created and the messages are
consumed.