Procedure
-
Click the Code tab at the bottom of the design workspace to check the generated code.
As shown above, the message flow from
testMina
is given a payload bycSetBody
and then sent tologRequest
andjobSocketIn
. The other message flow is sent fromjobSocketOut
tologResponse
. -
Press F6 to execute the Route, and then run the Job in the same way. The Route will keep trying to connect to the defined ports until the Job starts.
The message change log of the incoming and outcoming ports is printed in the execution console of the Route.
On the Job side, the message processed is also displayed in console.