See information about the latest product version
SCA outbound message flows
SCA outbound message flows are message flows that call a service component on WebSphere® Process Server. By using an SCARequest node, or a pair of SCAAsyncRequest and SCAAsyncResponse nodes, you can call a service component in WebSphere Process Server.
- From a message set.
- From an SCA export component imported from WebSphere Integration Developer.
- If the .outsca file contains either a single request-response operation, or more than one operation (one-way or request-response), you are prompted to select the operation. If the chosen operation is request-response, you can also choose whether to invoke the service synchronously or asynchronously. Synchronous invocation is the default value, and creates a SCARequest node. Choosing the asynchronous option creates a pair of SCAAsyncRequest and SCAAsyncResponse nodes.
- If the chosen operation is one-way, synchronous invocation is the only option, and a SCARequest node is created.
Synchronous requests
- WebSphere Message Broker needs to synchronously invoke a request-response operation.
- WebSphere Message Broker needs to invoke a one-way operation in an application running on WebSphere Process Server.
If the request is request-response, the node sends the request, then blocks until it receives a response, or the timeout period is exceeded. If the timeout period is exceeded, the message received on the input terminal of the SCARequest is propagated to the Failure terminal.
If the request is one-way, the node sends a request only. The message received on the input terminal of the SCARequest node is propagated to the Out terminal.
Asynchronous requests
When WebSphere Message Broker needs to make an asynchronous call to a service component that is provided by WebSphere Process Server, use a message flow, or flows, that contains a pair of SCAAsyncRequest and SCAAsyncResponse nodes. The SCAAsyncRequest node sends a request to a service component running on WebSphere Process Server. The SCAAsyncResponse node receives the response from WebSphere Process Server to a previously made asynchronous request from an SCAAsyncRequest node. Responses are correlated against the original requests.
The SCAAsyncRequest node requests sends a request to a service component running on WebSphere Process Server. The SCAAsyncResponse node receives the response from WebSphere Process Server to a previously made asynchronous request from an SCAAsyncRequest node. Responses are correlated against the original requests.
The SCAAsyncResponse node can be in the same message flow as the SCAAsyncRequest node which makes the request, or it can be in a separate message flow; it must, however, be in the same execution group as the SCAAsyncRequest node.