Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

OutputStream with tAdvancedFileOutputXML

Hi,
Can anybody explain how to use the option "Use output Stream"? what's the component used for this option?
Thanks in advance...
Ganesh.S
Labels (2)
13 Replies
Anonymous
Not applicable
Author

Hi
Use the Java object FileOutputStream have already been defined on previous component as the file path, please see my screenshots.
Best regards
Shong
Anonymous
Not applicable
Author

Hi Shong, 
I dont find any screenshots for this outputstream usage in tAdvancedFileOutputXML. Kindly help
Anonymous
Not applicable
Author

Hi sairamkumar,
Please see my screenshot
Best regards
Sabrina
0683p000009ME7c.png
Anonymous
Not applicable
Author

Hi Sabrina,
My scenario is this. 
Have a multischema complex with below structure. Able to generate the XML using tFileOutputMSXML. But it takes more than 30 minutes to generate. Hence trying to do the same with tAdvancedFileOutputXML by using Append the source XML. Not able to do it because there is no id at group level hence it replaces the content.
Queries:
1. How to speed up my XML generation using  tFileOutputMSXML?
2. How to generate below complex XML using  tAdvancedFileOutputXML?
Ideally my aim is to generate multischema at high speed.
<Msg>
<hd>
<id>1</id>
</hd>
<videos>
<base>b1</base>
<video> - complex and repeats for 50,000 iterations
<id>1</id>
<url>site1</url>
...
</video>
<video>
<id>2</id>
<url>site2</url>
...
</video>
</videos>
<Images>
<base>b1</base>
<Image> - complex and repeats for 50,000 iterations
<id>1</id>
<url>site1</url>
...
</Image>
<Image>
<id>2</id>
<url>site2</url>
...
</Image>
</Images>
</Msg>
Anonymous
Not applicable
Author

Hi sairamkumar,
What's your Input source? and how large? Could you please share your current work flow screenshot with us?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
Screenshot attached. This is my job using  tFileOutputMSXML component and it is slow.
Table 1 fetch is the entry point in the job.
0683p000009ME6Z.png
Anonymous
Not applicable
Author

Hi,
You can use append feature on tAdvancedFileOutput instead of tFileOutputMSXML.
Please have a look at KB article:TalendHelpCenter:Append the source xml file feature
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
I tried to do using tAdvancedFileOutputXML. It is taking more time than tFileOutputMSXML. 
Kindly help to get a solution for this. We are using Talend enterprise version and still not able to improve the performance for XML generation.
Anonymous
Not applicable
Author

Hi  sairamkumar,
What's the job rate when you were using  tAdvancedFileOutputXML?

Best regards
Sabrina