Implicit Context Load with dynamic context file path

Six Stars

Implicit Context Load with dynamic context file path

We have requirement where we need to read context parameter values from the config file.However config file path should be  passed dynamically while calling graph from server.

Thus whatever path is passed system should read context file from that path only.

How can we achieve this in talend.

Sixteen Stars

Re: Implicit Context Load with dynamic context file path

Six Stars

Re: Implicit Context Load with dynamic context file path

couldn't get ,can you please elaborate in my scenario how to implement your logic ?

Highlighted
Sixteen Stars

Re: Implicit Context Load with dynamic context file path

The trick here is that you can use Java methods (routines) in the Implicit Context Load parameters. As such, they do not need to be hardcoded. So you can write a Java class to handle selecting your appropriate context file and simply add the methods that pick the correct paths, etc, to your implicit context load params.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.