Hi,
I need to pass the properties of a file like file size, file MD5 value to a tJava component for future use. Currently i am using "tFileProperties" and "tJava" components for this. But i an unable to pass the properties of the file. Please advice.
Regards,
Babu.
Hello Babu
Store the file properties in global variables. eg:
tFileProperties--main---tJavaRow
|
onsubjobok
|
tJava
on tJavaRow, store the file properties into global variables: eg:
globalMap.put("size", input_row.size);
on tJava, use the file properties like:
Long size=(Long)globalMap.get("size");
Best regards
Shong