Usage TFileFetch

One Star

Usage TFileFetch

This component has a check box that says:
"Use Cache to save de resource"
¿How can i get The input information from cache? I tried with TCacheInput or TCacheOutput and i cant read... SomeOne Help me?
One Star

Re: Usage TFileFetch

Hi
You may use the component like this:
tFileFetch_1
|
OnSubjobOk
|
tFileInputXXX ---> tFileOutputXXX
Type the attribute "File name/Stream" of tFileInputXXX like "((java.io.InputStream)globalMap.get("tFileFetch_1_INPUT_STREAM"))".
More details, you may find in http://www.talendforge.org/forum/viewtopic.php?pid=67460#p67460
Best regards!
Pedro