#1 2008-03-21 10:58:36

ReggieBE
Member
Registered: 1970-01-01
Posts: 13

Buffer data before write

Tags: [Buffer, java, tos2.3.1, xml]

Talend version: 2.3.1.r11699

Hello !

I wrote a job which parses a delimited file into an xml file. It all works pretty well, but I've got one issue ...
The xml file contains several numbers of which the sum needs to be displayed at the top of the xml page (which I save into a context variable using tJavaFlex) ... you can imaging I always get 0 as the total amount since this is written first.

Now my question: How can I buffer all the data before I write it to the xml ? I tried to use tBuffer, but it just passes on the data so it seems.


Uploaded Images

Last edited by ReggieBE (2008-03-21 11:04:23)

Offline

#2 2010-08-25 16:11:38

dministrator
Member
Registered: 2010-06-24
Posts: 31

Re: Buffer data before write

Did you manage to get this working eventually? Please share your approach for everyone's benefit. Thank you.

Offline

Board footer

Powered by FluxBB