Viewing code and executing the Route - 6.4

Wiretap - Mediation

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Routing components (Mediation) > Wiretap components (Mediation)
Data Quality and Preparation > Third-party systems > Routing components (Mediation) > Wiretap components (Mediation)
Design and Development > Third-party systems > Routing components (Mediation) > Wiretap components (Mediation)
EnrichPlatform
Talend Studio

Procedure

  1. Click the Code tab at the bottom of the design workspace to have a look at the generated code.
    In this partially shown code, any message from the endpoint Source will be wiretapped by .wireTap and routed to "direct:a". The fine name and content of each wiretapped message will be displayed on the console. The original message will be routed .to an endpoint identified by the URI "direct:b", which is defined in cJavaDSLProcessor_1.
  2. Click the Run view to display it and click the Run button to launch the execution of your Route. You can also press F6 to execute it.
    RESULT: The source message is wiretapped and routed to endpoint a as well as being routed to endpoint b.