Creating a Route Resource - Cloud - 8.0

Messaging Endpoint (Mediation)

Version
Cloud
8.0
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > Routing components (Mediation) > Messaging Endpoint components (Mediation)
Data Quality and Preparation > Third-party systems > Routing components (Mediation) > Messaging Endpoint components (Mediation)
Design and Development > Third-party systems > Routing components (Mediation) > Messaging Endpoint components (Mediation)
Last publication date
2024-02-21

Procedure

  1. From the repository tree view, right-click the Resources node and select Create Resource from the context menu.
  2. The New Route Resource wizard opens. In the Name field, type in a name for the Resource, for example, SampleXquery. Click Finish to close the wizard.
  3. Enter the following code in the editor to extract the firstName and lastName of all the person elements.
    declare namespace ns0="http://com.sap/b";
    <people>
    {
    for $p in /people//person
    return
                <person>
                <firstName>{$p/firstName/text()}</firstName>
                <lastName>{$p/lastName/text()}</lastName>
                </person>
    }
    </people>
  4. Press Ctrl+S to save your Route Resource.