Procedure
-
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 usingStringBuilder sb = new StringBuilder()
atcProcessor_1
and is used as the reply message via the methodexchange.getOut().setBody( sb.toString())
. -
Press F6 to execute the Route.
The server Route gets started.