Building the Sample Programs

Prerequisites

  • TIBCO FTL 5.4 or later
  • Eclipse Paho MQTT Go client library

Procedure

  1. Copy the TIBCO FTL-MQTT Bridge Go sample directories into the FTL Go samples folders.
    cp -r $TIBCO_HOME/emd/<version>/bridge/samples/golang/* TIBCO_HOME/ftl/<version>/samples/golang/src/tibco.com/ftl-sample
    
  2. Source the setup script from the FTL samples directory:
    source $TIBCO_HOME/ftl/<version>/samples/setup
  3. Install the Eclipse Paho MQTT Go client library:
    go get github.com/eclipse/paho.mqtt.golang
  4. Build and install the FTL Go samples:
    go install -v tibco.com/ftl-sample...