Inbound Methods for a Transport Business Service
Available inbound methods depend on the transport business service in use, such as EAI MSMQ Transport. The inbound methods monitor a specified queue and upon receipt of a message, dispatch it to another service.
There are three inbound methods that can be used to receive requests from another application:
Receive. Receives an inbound request message and returns it to the caller of the transport.
Receive and Execute (ReceiveDispatch). Receives an inbound request message and calls another service with the inbound message as input. This called service is known as the Dispatch Service, and the method that is called is known as the Dispatch Method.
Receive, Execute, and Send (ReceiveDispatchSend). This is a request/response method. It receives an inbound request message, calls another service with the inbound message as input, and then sends the output of the called service as a response. To suppress the response, you can create an output property, on the dispatch service, of type EmptyResponse and set it to True.
Note: To receive a message and send a reply using the ReceiveDispatchSend method, you must use the<Value>
process property in dispatched workflows to hold the message.