TIBCO FTL-MQTT Bridge Quick Start

TIBCO FTL-MQTT Bridge and the sample programs are configured to work with the default FTL and Mosquitto configurations. When you run all the software on the same host, the sample programs should operate successfully without needing any additional configuration.

Prerequisites

  • TIBCO FTL 5.4 or later
  • TIBCO Messaging - Eclipse Mosquitto Distribution Bridge package
  • TIBCO Messaging - Eclipse Mosquitto Distribution Core package

Procedure

  1. set the PATH environment variable.
    export PATH=<TIBCO_HOME>/emd/<version>/bridge/bin:<TIBCO_HOME>/emd/<version>/core/sbin:<TIBCO_HOME>/ftl/<version>/bin:$PATH
  2. Start a Realm Server.
    bash$ $TIBCO_HOME/ftl/<version>/tibrs &
  3. Start a Mosquitto Broker.
    bash$ $TIBCO_HOME/emd/<version>/core/sbin/mosquitto &
  4. Start an instance of TIBCO FTL-MQTT Bridge.
    bash$ $TIBCO_HOME/emd/<version>/bridge/bin/tibfmbridge &
  5. Start an MQTT subscriber.
    bash$ $TIBCO_HOME/emd/<version>/bridge/bin/mqtt-sub &
  6. Start a FTL publisher.
    bash$ $TIBCO_HOME/emd/<version>/bridge/bin/ftl-pub -m 'hello world'

Result

The message hello world will be seen followed, on a separate line, by the number of messages received.
"hello world"
1