Open topic with navigation

# 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.

Sample Programs for One-to-Many Communication
Programs | Description
--- | ---
`tibrecvex` | `tibrecvex` creates a subscriber and outputs the messages it receives. Start this program first.
`tibsendex` | `tibsendex` publishes messages for `tibrecvex`.

Sample Programs for One-to-One Communication
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

Files in Samples Directory
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

Samples 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 `readme.txt` file contains instructions for using these samples.
`src` | Sample program source code in C, Java, and .NET. You may use these samples as models for your application programs. The`readme.txt` file contains instructions for compiling.
`yaml` | FTL server samples. The `readme.txt` file contains instructions.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO FTL® - Enterprise Edition

Copyright © 2009-2024. Cloud Software Group, Inc. All Rights Reserved.