Skip to main content Skip to complementary content

Viewing code and executing the Route


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