Skip to main content Skip to complementary content

Viewing code and executing the Route

Procedure

  1. Click the Code tab at the bottom of the design workspace to check the generated code.
    As shown above, the route gets the message from Read_Input_cFile_1, and .setHeader("ListOfRecipients") using .constant("direct:a,direct:b"). Then, cRecipientList_1 reads .header("ListOfRecipients") and routes the message to the recipients included in it.
  2. Press F6 to execute the Route.
    The message is sent to recipients included in the header.

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!