on 2020 Sep 16 5:31 PM
Hello experts,
I have a configuration scenario where I add mapping parameters to the Integrated Configuration. I want to write these parameters in the mapping via Java coding into the parameter filename, so that the receiver channel can use it.
Thanks in advance.
With kind regards David
Hi David,
The example code for retrieving the value for a parameter would be the following:
String someParam = in.getInputParameters().getString("SOME_PARAM");
Where the "in" is an object of type TransformationInput as part of the method transform.
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ryan,
yes thats exactly what I am trying to do. I want to get the Values from the Dynamic Configuration for the FileName.
Normally I always do this without Java coding, but this time I just want to pass the data through 1:1 without mapping anything and without creating an XML structure. Therefore I need the Java code which is then executed and writes these two parameters into the header (FileName).
Thanks for your help!
Regards, David
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.