Procedure
-
Click the Code tab at the
bottom of the design workspace to have a look at the generated code.
As shown in the code, a 20-second delay is implemented according to
.delay(20000)
in the message routingfrom
theRead
endpoint.to
theWrite
endpoint. -
Press F6 to execute the Route.
RESULT: Each message read from the source folder is routed to the target folder after a 20-second delay.