Prerequisites - learn-tibco-cep/tutorials GitHub Wiki

The tutorials do not assume previous knowledge of the TIBCO CEP platform, although experiences of any programming language and rule-based systems would be a plus.

However, you must be a customer of TIBCO and have access to the following TIBCO products:

Install TIBCO FTL

The tutorials use the TIBCO FTL for high-speed and reliable message exchanges between BE application instances. Thus, you must first follow the TIBCO FTL Installation Guide to install the product.

You can then start a FTL server as follows if you are on Linux or MacOS:

export TIBFTL_ROOT=/opt/tibco/ftl/6.9
$TIBFTL_ROOT/samples/scripts/ftlstart ftls1@localhost:8585

To verify the installation of TIBCO FTL, you can start a message subscriber:

$TIBFTL_ROOT/samples/bin/tibftlrecv localhost:8585

Then open another terminal to publish a message:

$TIBFTL_ROOT/samples/bin/tibftlsend localhost:8585

The subscriber terminal should display a received message that indicates a successful installation of the TIBCO FTL:

Received message
  {string:type="hello", string:message="hello world earth"}

Optional: Run TIBCO FTL Server in Docker

If you prefer running infrastructure services in Docker containers, Mac or Linux users may follow the following steps to start FTL server in Docker.

Mac users must download the FTL Linux installer file to a local folder, e.g., $LINUX_INSTALL/TIB_ftl_6.9.1_linux_x86_64.zip. Then use the following command to build the FTL Docker image:

cd $TIBFTL_ROOT/samples/docker
./build_images.sh --ftl $LINUX_INSTALL/TIB_ftl_6.9.1_linux_x86_64.zip

You can then start the FTL server in Docker container:

docker run -d -p 8585:8585 ftl-tibftlserver:6.9.1 --name ftls1@$(hostname):8585

To verify the FTL server from Docker containers, you can start the FTL message receiver and sender in Docker as follows:

docker run -it --rm ftl-client:6.9.1 tibftlrecv $(hostname):8585
docker run -it --rm ftl-client:6.9.1 tibftlsend $(hostname):8585

To verify the FTL server from clients on localhost, you can run local receiver and sender as follows:

$TIBFTL_ROOT/samples/bin/tibftlrecv $(hostname):8585
$TIBFTL_ROOT/samples/bin/tibftlsend $(hostname):8585

 

Next Step: Get Started