August 15, 2023

Creating a Route Resource and calling it in the Route – Docs for ESB 6.x

Creating a Route Resource and calling it in the Route

  1. From the repository tree view, right-click the Resources node and select Create
    Resource
    from the context menu.

    use_case_cseda1.png

  2. The [New Route Resource] wizard
    opens. In the Name field, type in a
    name for the Resource, for example, SetRepeatCount.
    Click Finish to close the
    wizard.

    use_case_cseda2.png

  3. Enter repeat.count=2 in the design workspace to set the
    repeat count.

    use_case_cseda23.png

  4. Press Ctrl+S to save your Route
    Resource.
  5. Right-click the Route from the repository tree view and select
    Manage Route Resources from the
    context menu.

    use_case_cseda3.png

    The [Manage Route Resources] wizard
    is opened.
    use_case_cseda4.png

  6. Click Add and select
    SetRepeatCount from the Resources tree view in
    the dialog. Click OK.

    use_case_cseda5.png

    The SetRepeatCount Route Resource is added in the
    table.
    use_case_cseda6.png

  7. Click OK to close the wizard.

    For more information about creating and using Route Resources, see

    Talend Studio User Guide
    .
  8. Click the Spring tab on the lower
    half of the design workspace of the Route.

    use_case_cseda8.png

  9. Enter the following code in this view to call the Route Resource you
    just created.

    For more information about using Spring configuration in a Route, see

    Talend Studio User Guide
    .

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