Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to consume the content of a file with the tJava component. Actually I am using the tFileInputRaw to get the content.
In my tJava component I am using this code
System.out.println("working on content " + row1);
System.out.println("working on content " + row1.content);
This the result
Why is the content null? I would expect, that there is the byte array of my file. In the debug vie you can see that this variable is set with an byte array. Is it not possible to use this in a tJava component?
Thanks
I have tested this with the tJavaFlex component, there it was possible to consume the in coming content. So I guess, that the tJava component cannot, maybe someone knows the difference, for me its strange why tJava cannot do this.
Hello,
Normally, tJava has no input or output data flow and is used as a separate subjob.
For more information, please have a look at this article about: What is the difference between tJava, tJavaRow, and tJavaFlex?
Best regards
Sabrina