Sample Programs Reference
Sample programs serve as models for your own programs. You can use sample programs to experiment with TIBCO FTL software, test for correct installation, and demonstrate performance in your network environment.
Sample Programs
These tables describe some of the sample programs, however, the list is not exhaustive. For instructions on running the sample programs, and for descriptions of other sample programs, see the
readme files in each directory.
Each sample program prints a usage summary in response to the
-h command line option.
| Programs | Description |
|---|---|
tibrecvex
|
tibrecvex creates a subscriber and outputs the messages it receives.
Start this program first. |
tibsendex
|
tibsendex publishes messages for
tibrecvex.
|
| Programs | Description |
|---|---|
tibreply
|
tibreply creates a subscriber, and replies to request messages it receives.
Start this program first. |
tibrequest
|
tibrequest creates an inbox subscriber, sends request messages to
tibreply, and receives replies at its inbox.
|
Files
| File | Description |
|---|---|
readme.txt
|
Instructions to compile and run sample programs. |
setup
|
Script that defines environment variables for the samples, such as
PATH,
LD_LIBRARY_PATH and
CLASSPATH. Start with this script.
|
Directories
| Directory | Description |
|---|---|
bin
|
Executable sample programs, precompiled from C sources. |
config
|
More sample configuration files, for use as instructional models, but not related to the sample programs. |
docker
|
Docker resources and information. |
helm
|
Sample to deploy FTL on a Kubernetes cluster with the default configuration. |
jaas
|
Files that configure JAAS authentication and authorization for the sample scripts. |
scripts
|
Sample scripts to start and stop the FTL server. Before running the sample programs you
must start the FTL server with this script.
Sample configuration file for the FTL server. The
|
src
|
Sample program source code in C, Java, and .NET. You may use these samples as models for your application programs.
The |
yaml
|
FTL server samples. The
readme.txt file contains instructions. |