Dropping and linking the components - 7.3

Filter (Mediation)

author
Talend Documentation Team
EnrichVersion
Cloud
7.3
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) > Filter components (Mediation)
Data Quality and Preparation > Third-party systems > Routing components (Mediation) > Filter components (Mediation)
Design and Development > Third-party systems > Routing components (Mediation) > Filter components (Mediation)
EnrichPlatform
Talend Studio

Procedure

  1. From the Connectivity folder of the Palette, drop three cFile and four cMessagingEndpoint components onto the design workspace, and label them Sender, Receiver_Paris, and Receiver_Others, directParis, directOthers, directParisRoute, and directOthersRoute respectively to better identify their roles.
  2. From the Routing folder, drop a cMessageRouter component onto the design workspace, and label it Message_router.
  3. From the Miscellaneous folder, drop two cLog components onto the design workspace, and label them Monitor_Paris and Monitor_Others respectively.
  4. Right-click the cFile component labeled Sender, select Row > Route from the contextual menu and click the cMessageRouter component.
  5. Right-click the cMessageRouter component, select Trigger > When from the contextual menu and click the cMessagingEndpoint component labeled directParis. This endpoint will retrieve the messages that meet the defined criterion.
  6. Right-click the cMessageRouter component, select Trigger > Otherwise from the contextual menu and click the cMessagingEndpoint component labeled directOthers. This endpoint will collect all the messages that do not meet the filter criterion.
  7. Right-click the cMessagingEndpoint component labeled directParis, select Row > Route from the contextual menu and click the cFile component labeled Receiver_Paris. Repeat this operation to link the component labeled Receiver_Paris to Monitor_Paris, directOthersRoute to Receiver_Others, and Receiver_Others to Monitor_Others respectively using the Row > Route connection.