August 16, 2023

Configuring how the message is processed – Docs for ESB 6.x

Configuring how the message is processed

  1. Double-click the cTimer component to
    open its Basic settings view in the
    Component tab.

    use_case_ctalendjob_6.png

  2. Set the values for the Period
    (200), Repeat (1) and
    Delay (1000) fields as shown above to trigger a message
    exchange after a delay of 1000 milliseconds.
  3. Double-click the cSetHeader component
    to display its Basic settings view in
    the Component tab.

    use_case_ctalendjob_7.png

  4. Click [+] to add a row to the
    Headers table.

    In the Name field, type in
    "header" as the header name.
    Select Constant in the Language list, and enter
    "FileName" in the Value field.
  5. Double-click the cTalendJob component
    to display its Basic settings view in
    the Component tab.

    use_case_ctalendjob_9.png

  6. Select Repository to call a Job from
    the repository.
  7. In the Repository Job area, select
    Use Selected Context.

    Click […] next to the Job field to open the [Assign
    Job]
    wizard. Select Assign an
    existing Job to this cTalendJob component
    and click
    Next.
    use_case_ctalendjob_10.png

    In the Job selection view, select
    RouteCommunication that we just created in the
    Job designs tree view and click
    Finish.
    use_case_ctalendjob_11.png

    RouteCommunication is now displayed in the Job field. By default, the latest version and
    the default context of it is selected.
  8. Click [+] under the Context Param to add a row to it.

    The Parameters list contains the
    variables in the default context group of the referenced Job. Select
    body in the list.
    Enter "Hello World!" in the Values field. It will replace the value
    world that is defined in the Job context.
  9. Click the Advanced settings view.
    Select the Propagate Header check box
    to pass the header that is defined in cSetHeader to the Job as a context variable.

    use_case_ctalendjob_13.png

  10. Press Ctrl+S to save your
    Route.

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