Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once connected, you can use the publish and subscribe buttons in MQTT.fx to send and receive messages.  To send a message and receive it back in this client, do the following.

  1. Subscribe on # to enable this client to receive all messages.  To do so, select the Subscribe tab, Type '#' into the topic window, and click the Subscribe button.  Once done, it should look as follows.
    Image Added
  2. Publish a message on a topic.  To do so, select the Publish tab, 'type test/1/2' into the topic window, and click the Publish button.  Once do, it should look as follows.
    Image Added
  3. Now switch back to the Subscribe tab.  You should see that a message has come in on 'test/1/2'.
    Image Added

Obviously, this example isn't very interesting because we're sending and receiving a message from the same client.  But, this exercise does prove the Chariot MQTT Server is up and running properly.