Skip to main content Skip to complementary content
  • New archived content: Talend MDM, Talend Data Catalog 8.0, and Talend 7.3 products reached their end of life in 2024. Their documentation was moved to the Talend Archive page and will no longer receive content updates.
Close announcements banner

Creating a Route to send a message and call the Job

In this section, you will create a Route to send a message and call the Job.

For more information on how to create a Route, see Creating a Route.

Dropping and linking the components

Procedure

  1. Place the following components from the Palette onto the design workspace:
    • a cTimer,
    • a cSetHeader,
    • and a cTalendJob.
    Screenshot of the Job in the design workspace.
  2. Link the components with the Row > Route connection as shown above.

Configuring the Mediation components

Procedure

  1. Double-click the cTimer component to open its Basic settings view in the Component tab.
    Basic settings view.
  2. Set the values for the Period (1000), Repeat (1) and Delay (1000) fields as shown above to trigger a message exchange after a delay of 1000 milliseconds.
  3. Double-click the cSetBody component to display its Basic settings view in the Component tab.
    Basic settings view.
  4. Select Constant in the Language list, and enter "Hello" in the Expression field.
  5. Double-click the cTalendJob component to display its Basic settings view in the Component tab.
    Basic settings view.
  6. Select Repository to call a Job from the repository. 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.
    Assign Job wizard.
  7. In the Job selection view, select tmysql that you just created in the Job designs tree view and click Finish.
    Assign Job wizard.

    tmysql is now displayed in the Job field. By default, the latest version and the default context of it is selected.

  8. Press Ctrl+S to save your Route.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!