August 15, 2023

Defining the output stream – Docs for ESB 6.x

Defining the output stream

  1. Double-click tFileOutputDelimited to open its
    Component view.

    use_case-tdropboxput5.png

  2. Select the Use output stream check box to write the data to
    be outputted into a given output stream.
  3. In the Output stream field, enter the code to define the
    output stream you need to write data in. In this scenario, it is the output
    stream of the tDropboxPut_1 component
    linked with the current component. Thus the code used to write the data
    reads as
    follows:((java.io.OutputStream)globalMap.get("tDropboxPut_1_OUTPUTSTREAM"))

    Note that in this example code, the tDropboxPut
    component has the number 1 as its affix,
    which represents its component ID distributed automatically within this Job.
    If the tDropboxPut component you are using
    has a different ID, you need to adapt the code to that ID number.
  4. Click Edit schema to verify that the
    schema of this component is identical with that of the preceding tFixedFlowInput component. If not so, click the
    Sync columns button to make both of the
    schemas identical.

Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x