Skip to main content Skip to complementary content

Dropping and linking components

Procedure

  1. From the Connectivity folder of the Palette, drop twocFile components onto the design workspace, one as the message sender and the other as the message receiver.
  2. From the Exception Handling folder, drop a cTry component onto the design workspace to build Try, Catch and Finally blocks.
  3. From the Custom folder, drop two cProcessor components onto the design workspace.
  4. Link the cFile component serving as message sender to the cTry component using a Row > Route connection.
  5. Link the cTry component to one cProcessor using a Row > Try connection. This cProcessor component will throw an exception if any file coming via this connection does not contain the required content.
  6. Link the cTry component to the other cProcessor component using a Row > Catch connection to catch the exception. This cProcessor component will display the information related to the exception and the file name that does not contain the required content.
  7. Link the cTry component to the receiving cFile component using a Row > Finally connection.
  8. Label the components according to their roles in the Route.

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 – please let us know!