Follow the steps below to add shapes to the orchestration for sending and receiving messages.
-
Right-click the orchestration, and then select Insert Shape > Receive.
The system inserts Receive_1 in the orchestration.
-
Right-click the orchestration again, and then select Insert Shape > Send.
The system inserts Send_1 in the orchestration.
-
Repeat steps 1 and 2 to insert two additional shapes for Receive_2 and Send_2.
-
Select Receive_1, and change Activate to True. This setting enables the message Receive_1 to keep polling the input as soon as the application is started.
-
Select Receive_1, and set the message to msgRequest in the Properties window.
-
Select Send_1, and set the message to msgRequest.
-
Repeat steps 5 and 6 to for Receive_2 and Send_2. Set both messages to msgResponse.
Your screen should resemble the example below after you have created all the shapes and associated all the messages.