Skip to content

LSEG-API-Samples/Example.TM3.RDP.Java.Workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Step By Step TM3 Client File Store (CFS) File API using Java

  • version: 1.0.0
  • Last update: August 2025
  • Environment: Java 17

Example Code Disclaimer: ALL EXAMPLE CODE IS PROVIDED ON AN “AS IS” AND “AS AVAILABLE” BASIS FOR ILLUSTRATIVE PURPOSES ONLY. LSEG MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, AS TO THE OPERATION OF THE EXAMPLE CODE, OR THE INFORMATION, CONTENT, OR MATERIALS USED IN CONNECTION WITH THE EXAMPLE CODE. YOU EXPRESSLY AGREE THAT YOUR USE OF THE EXAMPLE CODE IS AT YOUR SOLE RISK.

Introduction

This example demonstrates how to use Java to retrieve the Municipal Market Monitor (TM3) bulk file via the Delivery Platform—also known as the Data Platform or RDP using the Client File Store (CFS) API service.

Please note that this code is intended for demonstration purposes only and is not optimized for production use.

Prerequisite

This example requires the following dependencies.

  1. Java SDK version 17.
  2. Apache Maven.
  3. RDP access credential with your TM3 Package ID.
  4. Internet connection.

Please contact your LSEG representative to help you to access the RDP account and TM3 access.

How to run the demo application

The first step is to unzip or download the example project folder into a directory of your choice, then set up the environment by the steps below.

Run the demo Console application with Java and Maven

  1. Open the Command Prompt and go to the project's TM3ConsoleJ folder.

  2. Create a file name .env inside the TM3ConsoleJ folder with the following content

    MACHINE_ID=<RDP Username>
    PASSWORD=<RDP Password>
    APP_KEY=<RDP App Key>
    PACKAGE_ID=<Your Bulk Package ID>
  3. Open the TM3ConsoleJ folder via a command prompt application

  4. Run the following command to build a solution

    $>mvn package
  5. Once the building process is completed, run the following command to start an application

    $>java -jar ./target/TM3ConsoleJ-1.0-jar-with-dependencies.jar
  6. The TM3 bulk file will be downloaded to TM3ConsoleJ folder.

About

About A workflow for TM3 Bulk file using RDP CFS API in Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages