August 16, 2023

Configuring the input component – Docs for ESB 6.x

Configuring the input component

  1. Double-click tNamedPipeOpen to define its
    propeties in its Basic settings view.

    Fill in the Name field with the name of a
    named-pipe and select Delete if already
    exist
    to avoid duplicate named-pipe.
    Use_Case_tNamedPipeOutput2.png

  2. Double-click tParallelize to define its
    properties in its Basic settings
    view.

    Select end of all subjobs from the
    Wait for list.
    Fill in the Sleep Duration field with
    100 to set the sleep duration.
    Use_Case_tNamedPipeOutput3.png

  3. Double-click tFileInputDelimited to
    define its properties in its Basic settings
    view.

    Fill in the File name/Stream
    field with the following expression to use the name of the existing
    named-pipe defined in the Basic settings
    view of tNamedPipeOpen:
    Use_Case_tNamedPipeOutput4.png

  4. Click the three-dot button next to Edit
    schema
    .

    Use_Case_tNamedPipeOutput5.png

  5. Click the plus button to add three columns for tFileInputDelimited. Fill the three Column fields with id,
    first_name and last_name and
    set the Type of id to
    Integer. Keep the rest of the settings
    as default.
  6. Click OK to save the settings for the
    schema.
  7. Keep the rest of the settings in the Basic
    settings
    view of tFileInputDelimited as default.
  8. Double-click tSleep and fill the
    Pause (in seconds) field with
    1.
  9. Double-click tRowGenerator to define its
    properties in its Basic settings
    view.
  10. Click RowGenerator Editor to define the
    schema.

    Use_Case_tNamedPipeOutput6.png

  11. Click the plus button to add three columns for tRowGenerator. Fill the three Column fields with id,
    first_name and last_name and
    set the Type of id to
    Integer. Keep the rest of the settings of Type as default.
  12. Select sequence from the list in the
    Functions field for
    id.
  13. Select getFirstName from the list in the
    Functions field for Column
    first_name.
  14. Select
    TalendDataGenerator.getLastName
    from the list
    in the Functions field for Column
    last_name.
  15. Select id, fill the Value field under Function
    parameters
    tab with s1 for sequence identifier, 1001
    for start value and 1
    for step.
  16. Click OK to save the settings.

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