Skip to main content Skip to complementary content
Close announcements banner

Dropping and linking the components

About this task

This scenario requires one cMessageFilter component to filter the messages from the sender, one cFile component as the message sender, one cFile component to receiver the messages containing Paris, one cFile component to receiver all the messages from the sender, and two cProcessor components to monitor the messages routed to the two receivers.

Procedure

  1. From the Connectivity folder of the Palette, drop three cFile components onto the design workspace, and label them Sender, Paris_only, and Unfiltered respectively to better identify their roles.
  2. From the Routing folder, drop a cMessageFilter component onto the design workspace, and label it Filter.
  3. From the Custom folder, drop two cProcessor components onto the design workspace, and label them Monitor_Paris and Monitor_Unfiltered respectively.
  4. Right-click the cFile component labeled Sender, select Row > Route from the contextual menu and click the cMessageFilter component.
  5. Right-click the cMessageFilter component, select Row > Filter from the contextual menu and click the cFile component labeled Paris_only. This endpoint will retrieve the messages that meet the defined criterion.
  6. Right-click the cMessageFilter component, select Row > Route from the contextual menu and click the cFile component labeled Unfiltered. This endpoint will collect all the messages, including those meeting the filter criterion. This connection is optional.
  7. Right-click the cFile component labeled Paris_only, select Row > Route from the contextual menu and click the cProcessor component labeled Monitor_Paris. Repeat this step to connect the cFile component labeled Unfiltered to the cProcessor component labeled Monitor_Unfiltered.

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 – let us know how we can improve!