Skip to main content Skip to complementary content
Close announcements banner

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 has its message exchange pattern set as InOut using the method .setExchangePattern(org.apache.camel.ExchangePattern.InOut). In the meantime, a string is created using StringBuilder sb = new StringBuilder() at cProcessor_1 and is used as the reply message via the method exchange.getOut().setBody( sb.toString()).
  2. Press F6 to execute the Route.
    The server Route gets started.

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!