Use java as parameter value in a route context

Highlighted
Eight Stars

Use java as parameter value in a route context

Hi

Is it possible, instead of a static value, to set a java instruction as value for a local context parameter in a route ? It could be a call to a function I write in a bean, for instance

beans.mybean.decryptThisPassword("dummy")

I don't know what parameter type to use for it is seen as java code. 

 

Regards
Loko

Tags (1)
Twelve Stars

Re: Use java as parameter value in a route context

no, context are only context (String) they are not java commande.
but you can execute a java commande into a tjava who is using context values.

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Eight Stars

Re: Use java as parameter value in a route context

Wrong, context are not only Strings ,there are different possible types.

 

And tJava is for jobs, I'm talking about routes.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read